[PATCH 10/14] ap: Set the ECSA bit in the extended capabilities IE
Ilan Peer
ilan.peer
Mon May 19 00:07:12 PDT 2014
Signed-off-by: Ilan Peer <ilan.peer at intel.com>
---
src/ap/ieee802_11_shared.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/ap/ieee802_11_shared.c b/src/ap/ieee802_11_shared.c
index 12403f9..5a9e85e 100644
--- a/src/ap/ieee802_11_shared.c
+++ b/src/ap/ieee802_11_shared.c
@@ -172,6 +172,8 @@ static void hostapd_ext_capab_byte(struct hostapd_data *hapd, u8 *pos, int idx)
case 0: /* Bits 0-7 */
if (hapd->iconf->obss_interval)
*pos |= 0x01; /* Bit 0 - Coexistence management */
+ if (hapd->iface->csa_supported)
+ *pos |= 0x04; /* Bit 2 - Extended Channel Switching */
break;
case 1: /* Bits 8-15 */
break;
--
1.7.10.4
More information about the Hostap
mailing list