Add support for ftm responder configuration
Quoted 25 lines · Johannes Berg
Quoted 2 lines · Pradeep Kumar Chitrapu
I wasn't aware of this android api.
OK.
Quoted 4 lines
However, looking at the api, the
assumption is that bss is started by a different
api and the 'enableResponder' api is used for enabling rtt for a given duration.It looks like. Note that there's also *disable*, which we hadn't even implemented before.
Quoted 3 lines
The reason we have added enabling ftm responder through start ap is that this can reflect beacon IE change in the
configuration in the same place.Which makes sense, yeah.
Quoted 4 lines
In case of the separate command,
enabling responder will not update the beacon,
however, the application must issue the new command, whenever its updating beacon template.
Quoted 5 lines
Right. However, I guess we could allow updating/changing this setting on the fly through
nl80211_set_beacon()which already allows changing other non-beacon parameters (like the probe or assoc response templates), and then we can use your approach. Basically changing "SET_BEACON" to be a bit like "CHANGE_AP".
Agree. ( ftm_responder param will have to be added in cfg80211_beacon_data instead of cfg80211_ap_settings)
Quoted 3 lines
In that case we definitely would need the
attribute to be 0/1 as you had it so that it not present can be used to indicate "no change".
OK.
Quoted 2 lines
johannes
_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k
Quoted 11 lines · Pradeep Kumar Chitrapu
Quoted 7 lines
Right. However, I guess we could allow updating/changing this setting on
the fly throughnl80211_set_beacon()which already allows changing other
non-beacon parameters (like the probe or assoc response templates), and then we can use your approach. Basically changing "SET_BEACON" to be a bit like "CHANGE_AP".Agree. (
ftm_responderparam will have to be added incfg80211_beacon_data
instead ofcfg80211_ap_settings)
Right. I'm not even sure that all devices can disable it though, so we may be in a bind here? I think ours (Intel) can't, for example, disable FTM responder without disabling the AP (at least momentarily)...
Should we just ignore that? Or perhaps add a separate capability for it?
Maybe there's even hardware that cannot change the elements (LCI/Civic location) on the fly?
johannes
_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k
Quoted 14 lines · Johannes Berg
Quoted 11 lines · Pradeep Kumar Chitrapu
Quoted 7 lines
Right. However, I guess we could allow updating/changing this setting on
the fly through () which already allows changing
other
non-beacon parameters (like the probe or assoc response templates), and then we can use your approach. Basically changing "SET_BEACON" to be a bit like "CHANGE_AP".Agree. (
ftm_responderparam will have to be added incfg80211_beacon_data
instead ofcfg80211_ap_settings)
Quoted 5 lines
Right. I'm not even sure that all devices can disable it though, so we may be in a bind here? I think ours (Intel) can't, for example, disable FTM responder without disabling the AP (at least momentarily)...
Should we just ignore that? Or perhaps add a separate capability for it?
Yes, even we behave the same. In that case, we can go ahead now with the capability to only enable FTM responder. If the driver wants to support disabling option in future, at which point, the new capability can be added.
However, changes to nl80211_set_beacon to support enabling FTM responder may still be needed along with start_ap, assuming that ap start will be issued by different android api than enableResponder api.
Please let me know your suggestion.
Quoted 5 lines
Maybe there's even hardware that cannot change the elements (LCI/Civic location) on the fly?
johannes
_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k
Quoted 7 lines · Pradeep Kumar Chitrapu
Quoted 2 lines
Should we just ignore that? Or perhaps add a separate capability for it?
Yes, even we behave the same. In that case, we can go ahead now with the capability to only enable FTM responder. If the driver wants to support disabling option in future, at which point, the new capability can be added.
True.
Quoted 3 lines
However, changes to
nl80211_set_beaconto support enabling FTM responder may still be needed along withstart_ap, assuming that ap start will be issued by different android api than enableResponder api.
Yes, I guess that's still needed to be able to support the Android API, which seems useful.
johannes
_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k