nl80211: Register Link Measurement Request Action frame
Add link measurement request to registration of Action frames to be handled by wpa_supplicant if the driver supports TX power value insertation. Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com>
This commit is contained in:
parent
66d2143435
commit
7dc0338806
1 changed files with 5 additions and 0 deletions
|
@ -1952,6 +1952,11 @@ static int nl80211_mgmt_subscribe_non_ap(struct i802_bss *bss)
|
||||||
if (nl80211_register_action_frame(bss, (u8 *) "\x05\x05", 2) < 0)
|
if (nl80211_register_action_frame(bss, (u8 *) "\x05\x05", 2) < 0)
|
||||||
ret = -1;
|
ret = -1;
|
||||||
|
|
||||||
|
/* Radio Measurement - Link Measurement Request */
|
||||||
|
if ((drv->capa.rrm_flags & WPA_DRIVER_FLAGS_TX_POWER_INSERTION) &&
|
||||||
|
(nl80211_register_action_frame(bss, (u8 *) "\x05\x02", 2) < 0))
|
||||||
|
ret = -1;
|
||||||
|
|
||||||
nl80211_mgmt_handle_register_eloop(bss);
|
nl80211_mgmt_handle_register_eloop(bss);
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
|
|
Loading…
Reference in a new issue