Searched refs:txpwrlimit (Results 1 – 8 of 8) sorted by relevance
| /hal_nxp-latest/mcux/middleware/wifi_nxp/wlcmgr/ |
| D | wlan_enhanced_tests.c | 1014 void print_txpwrlimit(wlan_txpwrlimit_t *txpwrlimit) argument 1019 (void)PRINTF("Get txpwrlimit: sub_band=%x \r\n", txpwrlimit->subband); 1020 for (i = 0; i < txpwrlimit->num_chans; i++) 1022 (void)PRINTF("StartFreq: %d\r\n", txpwrlimit->txpwrlimit_config[i].chan_desc.start_freq); 1023 (void)PRINTF("ChanWidth: %d\r\n", txpwrlimit->txpwrlimit_config[i].chan_desc.chan_width); 1024 (void)PRINTF("ChanNum: %d\r\n", txpwrlimit->txpwrlimit_config[i].chan_desc.chan_num); 1026 for (j = 0; j < txpwrlimit->txpwrlimit_config[i].num_mod_grps; j++) 1028 if (j == (txpwrlimit->txpwrlimit_config[i].num_mod_grps - 1)) 1029 … (void)PRINTF("%d,%d", txpwrlimit->txpwrlimit_config[i].txpwrlimit_entry[j].mod_group, 1030 txpwrlimit->txpwrlimit_config[i].txpwrlimit_entry[j].tx_power); [all …]
|
| D | wlan.c | 11947 int wlan_set_chanlist_and_txpwrlimit(wlan_chanlist_t *chanlist, wlan_txpwrlimit_t *txpwrlimit) in wlan_set_chanlist_and_txpwrlimit() argument 11958 ret = wlan_set_txpwrlimit(txpwrlimit); in wlan_set_chanlist_and_txpwrlimit() 11987 int wlan_set_txpwrlimit(wlan_txpwrlimit_t *txpwrlimit) in wlan_set_txpwrlimit() argument 11989 if (txpwrlimit != NULL) in wlan_set_txpwrlimit() 11991 return wifi_set_txpwrlimit(txpwrlimit); in wlan_set_txpwrlimit() 11997 int wlan_get_txpwrlimit(wifi_SubBand_t subband, wifi_txpwrlimit_t *txpwrlimit) in wlan_get_txpwrlimit() argument 11999 if (txpwrlimit != NULL) in wlan_get_txpwrlimit() 12001 (void)memset(txpwrlimit, 0x00, sizeof(wifi_txpwrlimit_t)); in wlan_get_txpwrlimit() 12002 return wifi_get_txpwrlimit(subband, txpwrlimit); in wlan_get_txpwrlimit()
|
| /hal_nxp-latest/mcux/middleware/wifi_nxp/wifidriver/ |
| D | mlan_11k.c | 101 static t_u8 wlan_link_measurement_get_tx_power(wifi_txpwrlimit_t *txpwrlimit, t_u8 ModulationGroup,… in wlan_link_measurement_get_tx_power() argument 106 for (i = 0; i < txpwrlimit->num_chans; i++) in wlan_link_measurement_get_tx_power() 108 if (txpwrlimit->txpwrlimit_config[i].chan_desc.chan_num == channel) in wlan_link_measurement_get_tx_power() 110 tx_power = txpwrlimit->txpwrlimit_config[i].txpwrlimit_entry[ModulationGroup].tx_power; in wlan_link_measurement_get_tx_power() 809 wlan_txpwrlimit_t *txpwrlimit = NULL; in wlan_process_link_measurement_request() local 852 txpwrlimit = OSA_MemoryAllocate(sizeof(wlan_txpwrlimit_t)); in wlan_process_link_measurement_request() 854 txpwrlimit = OSA_MemoryPoolAllocate(buf_2048_MemoryPool); in wlan_process_link_measurement_request() 857 if (txpwrlimit == NULL) in wlan_process_link_measurement_request() 863 int rv = wlan_get_txpwrlimit(subband, txpwrlimit); in wlan_process_link_measurement_request() 870 …report.tpc_report.tx_power = (t_s8)wlan_link_measurement_get_tx_power(txpwrlimit, ModulationGroup,… in wlan_process_link_measurement_request() [all …]
|
| D | mlan_api.c | 4098 int wifi_set_txpwrlimit(wifi_txpwrlimit_t *txpwrlimit) in wifi_set_txpwrlimit() argument 4112 txpwrlimit->num_chans * (sizeof(MrvlIEtypesHeader_t) + sizeof(MrvlChannelDesc_t)) + in wifi_set_txpwrlimit() 4113 …(txpwrlimit->num_chans * txpwrlimit->txpwrlimit_config->num_mod_grps * sizeof(MrvlChanTrpcEntry_t)… in wifi_set_txpwrlimit() 4118 txpwrlimit_config->reserved = txpwrlimit->subband; in wifi_set_txpwrlimit() 4122 for (i = 0; i < txpwrlimit->num_chans; i++) in wifi_set_txpwrlimit() 4127 …sizeof(MrvlChannelDesc_t) + txpwrlimit->txpwrlimit_config->num_mod_grps * sizeof(MrvlChanTrpcEntry… in wifi_set_txpwrlimit() 4128 trpc_tlv->start_freq = txpwrlimit->txpwrlimit_config[i].chan_desc.start_freq; in wifi_set_txpwrlimit() 4129 trpc_tlv->width = txpwrlimit->txpwrlimit_config[i].chan_desc.chan_width; in wifi_set_txpwrlimit() 4130 trpc_tlv->chan_num = txpwrlimit->txpwrlimit_config[i].chan_desc.chan_num; in wifi_set_txpwrlimit() 4131 …(void)memcpy((void *)trpc_tlv->mod_group, (const void *)txpwrlimit->txpwrlimit_config[i].txpwrlimi… in wifi_set_txpwrlimit() [all …]
|
| D | mlan_glue.c | 3915 … wifi_txpwrlimit_t *txpwrlimit = (wifi_txpwrlimit_t *)wm_wifi.cmd_resp_priv; in wifi_process_cmd_response() local 3917 txpwrlimit->subband = (wifi_SubBand_t)chan_trpc_cfg->reserved; in wifi_process_cmd_response() 3935 if (!txpwrlimit->subband) in wifi_process_cmd_response() 3947 … txpwrlimit->txpwrlimit_config[txpwrlimit->num_chans].num_mod_grps = mod_num; in wifi_process_cmd_response() 3948 … txpwrlimit->txpwrlimit_config[txpwrlimit->num_chans].chan_desc.start_freq = in wifi_process_cmd_response() 3950 … txpwrlimit->txpwrlimit_config[txpwrlimit->num_chans].chan_desc.chan_width = in wifi_process_cmd_response() 3952 … txpwrlimit->txpwrlimit_config[txpwrlimit->num_chans].chan_desc.chan_num = in wifi_process_cmd_response() 3957 txpwrlimit->txpwrlimit_config[txpwrlimit->num_chans] in wifi_process_cmd_response() 3960 txpwrlimit->txpwrlimit_config[txpwrlimit->num_chans] in wifi_process_cmd_response() 3964 txpwrlimit->num_chans++; in wifi_process_cmd_response()
|
| /hal_nxp-latest/mcux/middleware/wifi_nxp/incl/wlcmgr/ |
| D | wlan_tests.h | 72 void print_txpwrlimit(wlan_txpwrlimit_t *txpwrlimit);
|
| D | wlan.h | 4738 int wlan_set_chanlist_and_txpwrlimit(wlan_chanlist_t *chanlist, wlan_txpwrlimit_t *txpwrlimit); 4773 int wlan_set_txpwrlimit(wlan_txpwrlimit_t *txpwrlimit); 4799 int wlan_get_txpwrlimit(wifi_SubBand_t subband, wifi_txpwrlimit_t *txpwrlimit);
|
| /hal_nxp-latest/mcux/middleware/wifi_nxp/wifidriver/incl/ |
| D | mlan_api.h | 430 int wifi_get_txpwrlimit(wifi_SubBand_t subband, wifi_txpwrlimit_t *txpwrlimit); 436 int wifi_set_txpwrlimit(wifi_txpwrlimit_t *txpwrlimit);
|