Changes between Version 3 and Version 4 of 802.11/wlan_exp/Extending
- Timestamp:
- Dec 14, 2015, 5:18:53 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
802.11/wlan_exp/Extending
v3 v4 72 72 In this example the custom command will query the lengths of Tx queues. 73 73 Modify the {{{wlan_exp_user_ap_process_cmd()}}} function in {{{wlan_mac_ap.c}}}. 74 {{{#!c 75 #define USER_CMDID_TX_QUEUE_STATUS 100 76 int i; 77 u32 req_queue_id; 78 u32 q_id, q_occ; 79 dl_entry* curr_station_info_entry; 80 station_info* curr_station_info; 81 }}} 82 83 Add a new case for the new command ID to the {{{switch(cmd_id)}}} statement: 84 74 85 {{{#!c 75 86 case USER_CMDID_TX_QUEUE_STATUS: