WNM: Collocated Interference Reporting
Add support for negotiating WNM Collocated Interference Reporting. This allows hostapd to request associated STAs to report their collocated interference information and wpa_supplicant to process such request and reporting. The actual values (Collocated Interference Report Elements) are out of scope of hostapd and wpa_supplicant, i.e., external components are expected to generated and process these. For hostapd/AP, this mechanism is enabled by setting coloc_intf_reporting=1 in configuration. STAs are requested to perform reporting with "COLOC_INTF_REQ <addr> <Automatic Report Enabled> <Report Timeout>" control interface command. The received reports are indicated as control interface events "COLOC-INTF-REPORT <addr> <dialog token> <hexdump of report elements>". For wpa_supplicant/STA, this mechanism is enabled by setting coloc_intf_reporting=1 in configuration and setting Collocated Interference Report Elements as a hexdump with "SET coloc_intf_elems <hexdump>" control interface command. The hexdump can contain one or more Collocated Interference Report Elements (each including the information element header). For additional testing purposes, received requests are reported with "COLOC-INTF-REQ <dialog token> <automatic report enabled> <report timeout>" control interface events and unsolicited reports can be sent with "COLOC_INTF_REPORT <hexdump>". This commit adds support for reporting changes in the collocated interference (Automatic Report Enabled == 1 and partial 3), but not for periodic reports (2 and other part of 3). Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
parent
224eddb03b
commit
d514b50265
18 changed files with 324 additions and 1 deletions
|
@ -921,6 +921,16 @@ struct ieee80211_mgmt {
|
|||
* Entries (optional) */
|
||||
u8 variable[];
|
||||
} STRUCT_PACKED bss_tm_query;
|
||||
struct {
|
||||
u8 action; /* 11 */
|
||||
u8 dialog_token;
|
||||
u8 req_info;
|
||||
} STRUCT_PACKED coloc_intf_req;
|
||||
struct {
|
||||
u8 action; /* 12 */
|
||||
u8 dialog_token;
|
||||
u8 variable[];
|
||||
} STRUCT_PACKED coloc_intf_report;
|
||||
struct {
|
||||
u8 action; /* 15 */
|
||||
u8 variable[];
|
||||
|
|
|
@ -332,6 +332,13 @@ extern "C" {
|
|||
/* BSS Transition Management Response frame received */
|
||||
#define BSS_TM_RESP "BSS-TM-RESP "
|
||||
|
||||
/* Collocated Interference Request frame received;
|
||||
* parameters: <dialog token> <automatic report enabled> <report timeout> */
|
||||
#define COLOC_INTF_REQ "COLOC-INTF-REQ "
|
||||
/* Collocated Interference Report frame received;
|
||||
* parameters: <STA address> <dialog token> <hexdump of report elements> */
|
||||
#define COLOC_INTF_REPORT "COLOC-INTF-REPORT "
|
||||
|
||||
/* MBO IE with cellular data connection preference received */
|
||||
#define MBO_CELL_PREFERENCE "MBO-CELL-PREFERENCE "
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue