old mode 100644new mode 100755.. | .. |
---|
52 | 52 | TASK_MESH, |
---|
53 | 53 | /// RXU task |
---|
54 | 54 | TASK_RXU, |
---|
| 55 | + /// RM_task |
---|
| 56 | + TASK_RM, |
---|
55 | 57 | #if defined CONFIG_RWNX_FULLMAC || defined CONFIG_RWNX_FHOST |
---|
56 | 58 | // This is used to define the last task that is running on the EMB processor |
---|
57 | | - TASK_LAST_EMB = TASK_RXU, |
---|
| 59 | + TASK_LAST_EMB = TASK_RM, |
---|
58 | 60 | #else |
---|
59 | 61 | #error "Need to define SOFTMAC or FULLMAC" |
---|
60 | 62 | #endif |
---|
.. | .. |
---|
359 | 361 | MM_GET_MAC_ADDR_REQ, |
---|
360 | 362 | MM_GET_MAC_ADDR_CFM, |
---|
361 | 363 | |
---|
362 | | - MM_GET_STA_TXINFO_REQ, |
---|
363 | | - MM_GET_STA_TXINFO_CFM, |
---|
| 364 | + MM_GET_STA_INFO_REQ, |
---|
| 365 | + MM_GET_STA_INFO_CFM, |
---|
| 366 | + |
---|
| 367 | + MM_SET_TXPWR_IDX_REQ, |
---|
| 368 | + MM_SET_TXPWR_IDX_CFM, |
---|
| 369 | + |
---|
| 370 | + MM_SET_TXPWR_OFST_REQ, |
---|
| 371 | + MM_SET_TXPWR_OFST_CFM, |
---|
| 372 | + |
---|
| 373 | + MM_SET_STACK_START_REQ, |
---|
| 374 | + MM_SET_STACK_START_CFM, |
---|
| 375 | + |
---|
| 376 | + MM_APM_STALOSS_IND, |
---|
| 377 | + |
---|
| 378 | + MM_SET_TXOP_REQ, |
---|
| 379 | + MM_SET_TXOP_CFM, |
---|
| 380 | + |
---|
| 381 | + MM_GET_FW_VERSION_REQ, |
---|
| 382 | + MM_GET_FW_VERSION_CFM, |
---|
364 | 383 | |
---|
365 | 384 | /// MAX number of messages |
---|
366 | 385 | MM_MAX, |
---|
.. | .. |
---|
1144 | 1163 | u32_l param_alpha; |
---|
1145 | 1164 | u32_l bt_calib_en; |
---|
1146 | 1165 | u32_l bt_calib_param; |
---|
| 1166 | + u8_l xtal_cap; |
---|
| 1167 | + u8_l xtal_cap_fine; |
---|
1147 | 1168 | }; |
---|
1148 | 1169 | |
---|
1149 | 1170 | struct mm_set_rf_calib_cfm { |
---|
.. | .. |
---|
1161 | 1182 | u8_l mac_addr[6]; |
---|
1162 | 1183 | }; |
---|
1163 | 1184 | |
---|
1164 | | -struct mm_get_sta_txinfo_req { |
---|
| 1185 | +struct mm_get_sta_info_req { |
---|
1165 | 1186 | u8_l sta_idx; |
---|
1166 | 1187 | }; |
---|
1167 | 1188 | |
---|
1168 | | -struct mm_get_sta_txinfo_cfm { |
---|
| 1189 | +struct mm_get_sta_info_cfm { |
---|
1169 | 1190 | u32_l rate_info; |
---|
1170 | 1191 | u32_l txfailed; |
---|
| 1192 | + u8 rssi; |
---|
| 1193 | +}; |
---|
| 1194 | + |
---|
| 1195 | +typedef struct { |
---|
| 1196 | + u8_l enable; |
---|
| 1197 | + u8_l dsss; |
---|
| 1198 | + u8_l ofdmlowrate_2g4; |
---|
| 1199 | + u8_l ofdm64qam_2g4; |
---|
| 1200 | + u8_l ofdm256qam_2g4; |
---|
| 1201 | + u8_l ofdm1024qam_2g4; |
---|
| 1202 | + u8_l ofdmlowrate_5g; |
---|
| 1203 | + u8_l ofdm64qam_5g; |
---|
| 1204 | + u8_l ofdm256qam_5g; |
---|
| 1205 | + u8_l ofdm1024qam_5g; |
---|
| 1206 | +} txpwr_idx_conf_t; |
---|
| 1207 | + |
---|
| 1208 | +struct mm_set_txpwr_idx_req { |
---|
| 1209 | + txpwr_idx_conf_t txpwr_idx; |
---|
| 1210 | +}; |
---|
| 1211 | + |
---|
| 1212 | +typedef struct { |
---|
| 1213 | + u8_l enable; |
---|
| 1214 | + s8_l chan_1_4; |
---|
| 1215 | + s8_l chan_5_9; |
---|
| 1216 | + s8_l chan_10_13; |
---|
| 1217 | + s8_l chan_36_64; |
---|
| 1218 | + s8_l chan_100_120; |
---|
| 1219 | + s8_l chan_122_140; |
---|
| 1220 | + s8_l chan_142_165; |
---|
| 1221 | +} txpwr_ofst_conf_t; |
---|
| 1222 | + |
---|
| 1223 | +struct mm_set_txpwr_ofst_req { |
---|
| 1224 | + txpwr_ofst_conf_t txpwr_ofst; |
---|
| 1225 | +}; |
---|
| 1226 | + |
---|
| 1227 | +struct mm_set_stack_start_req { |
---|
| 1228 | + u8_l is_stack_start; |
---|
| 1229 | + u8_l efuse_valid; |
---|
| 1230 | + u8_l set_vendor_info; |
---|
| 1231 | + u8_l fwtrace_redir; |
---|
| 1232 | +}; |
---|
| 1233 | + |
---|
| 1234 | +struct mm_set_stack_start_cfm { |
---|
| 1235 | + u8_l is_5g_support; |
---|
| 1236 | + u8_l vendor_info; |
---|
1171 | 1237 | }; |
---|
1172 | 1238 | |
---|
1173 | 1239 | /// Structure containing the parameters of the @ref MM_SET_P2P_OPPPS_REQ message. |
---|
.. | .. |
---|
1292 | 1358 | }; |
---|
1293 | 1359 | |
---|
1294 | 1360 | /// Maximum number of SSIDs in a scan request |
---|
1295 | | -#define SCAN_SSID_MAX 2 |
---|
| 1361 | +#define SCAN_SSID_MAX 3 |
---|
1296 | 1362 | |
---|
1297 | 1363 | /// Maximum number of channels in a scan request |
---|
1298 | 1364 | #define SCAN_CHANNEL_MAX (MAC_DOMAINCHANNEL_24G_MAX + MAC_DOMAINCHANNEL_5G_MAX) |
---|
.. | .. |
---|
1638 | 1704 | bool_l uapsd; |
---|
1639 | 1705 | }; |
---|
1640 | 1706 | |
---|
| 1707 | +struct mm_apm_staloss_ind { |
---|
| 1708 | + u8_l sta_idx; |
---|
| 1709 | + u8_l vif_idx; |
---|
| 1710 | + u8_l mac_addr[6]; |
---|
| 1711 | +}; |
---|
| 1712 | + |
---|
| 1713 | +struct mm_set_txop_req { |
---|
| 1714 | + u16_l txop_bk; |
---|
| 1715 | + u16_l txop_be; |
---|
| 1716 | + u16_l txop_vi; |
---|
| 1717 | + u16_l txop_vo; |
---|
| 1718 | + u8_l long_nav_en; |
---|
| 1719 | + u8_l cfe_en; |
---|
| 1720 | +}; |
---|
| 1721 | + |
---|
| 1722 | +struct mm_get_fw_version_cfm { |
---|
| 1723 | + u8_l fw_version_len; |
---|
| 1724 | + u8_l fw_version[63]; |
---|
| 1725 | +}; |
---|
| 1726 | + |
---|
1641 | 1727 | /// Structure containing the parameters of the @ref ME_RC_STATS_REQ message. |
---|
1642 | 1728 | struct me_rc_stats_req { |
---|
1643 | 1729 | /// Index of the station for which the RC statistics are requested |
---|