mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 08:48:31 -05:00
hostapd: Add HE bit in BSSID Information field of own Neighbor Report
Add definition for HE bit in neighbor report BSSID Information field from IEEE P802.11ax/D6.0, 9.4.2.36 Neighbor Report element. Signed-off-by: Sathishkumar Muruganandam <murugana@codeaurora.org>
This commit is contained in:
parent
a3eda98c22
commit
2b4f9ce287
@ -256,6 +256,8 @@ void hostapd_neighbor_set_own_report(struct hostapd_data *hapd)
|
|||||||
/* VHT bit added in IEEE P802.11-REVmc/D4.3 */
|
/* VHT bit added in IEEE P802.11-REVmc/D4.3 */
|
||||||
if (vht)
|
if (vht)
|
||||||
bssid_info |= NEI_REP_BSSID_INFO_VHT;
|
bssid_info |= NEI_REP_BSSID_INFO_VHT;
|
||||||
|
if (he)
|
||||||
|
bssid_info |= NEI_REP_BSSID_INFO_HE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* TODO: Set NEI_REP_BSSID_INFO_MOBILITY_DOMAIN if MDE is set */
|
/* TODO: Set NEI_REP_BSSID_INFO_MOBILITY_DOMAIN if MDE is set */
|
||||||
|
@ -2094,7 +2094,7 @@ enum phy_type {
|
|||||||
PHY_TYPE_VHT = 9,
|
PHY_TYPE_VHT = 9,
|
||||||
};
|
};
|
||||||
|
|
||||||
/* IEEE P802.11-REVmc/D5.0, 9.4.2.37 - Neighbor Report element */
|
/* IEEE P802.11-REVmd/D3.0, 9.4.2.36 - Neighbor Report element */
|
||||||
/* BSSID Information Field */
|
/* BSSID Information Field */
|
||||||
#define NEI_REP_BSSID_INFO_AP_NOT_REACH BIT(0)
|
#define NEI_REP_BSSID_INFO_AP_NOT_REACH BIT(0)
|
||||||
#define NEI_REP_BSSID_INFO_AP_UNKNOWN_REACH BIT(1)
|
#define NEI_REP_BSSID_INFO_AP_UNKNOWN_REACH BIT(1)
|
||||||
@ -2111,6 +2111,7 @@ enum phy_type {
|
|||||||
#define NEI_REP_BSSID_INFO_HT BIT(11)
|
#define NEI_REP_BSSID_INFO_HT BIT(11)
|
||||||
#define NEI_REP_BSSID_INFO_VHT BIT(12)
|
#define NEI_REP_BSSID_INFO_VHT BIT(12)
|
||||||
#define NEI_REP_BSSID_INFO_FTM BIT(13)
|
#define NEI_REP_BSSID_INFO_FTM BIT(13)
|
||||||
|
#define NEI_REP_BSSID_INFO_HE BIT(14)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* IEEE P802.11-REVmc/D5.0 Table 9-152 - HT/VHT Operation Information
|
* IEEE P802.11-REVmc/D5.0 Table 9-152 - HT/VHT Operation Information
|
||||||
|
Loading…
Reference in New Issue
Block a user