Searched refs:rate_code (Results 1 – 11 of 11) sorted by relevance
/wlan-driver/qcacld-3.0/core/hdd/src/ |
H A D | wlan_hdd_sysfs_bitrates.c | 33 static int wlan_hdd_sta_set_11n_rate(struct hdd_adapter *adapter, int rate_code) in wlan_hdd_sta_set_11n_rate() argument 42 hdd_debug("Rate code %d", rate_code); in wlan_hdd_sta_set_11n_rate() 51 if (rate_code != 0xffff) { in wlan_hdd_sta_set_11n_rate() 52 rix = RC_2_RATE_IDX(rate_code); in wlan_hdd_sta_set_11n_rate() 53 if (rate_code & 0x80) { in wlan_hdd_sta_set_11n_rate() 55 nss = HT_RC_2_STREAMS(rate_code) - 1; in wlan_hdd_sta_set_11n_rate() 66 rate_code); in wlan_hdd_sta_set_11n_rate() 70 rix = RC_2_RATE_IDX(rate_code); in wlan_hdd_sta_set_11n_rate() 71 if (rate_code & 0x10) { in wlan_hdd_sta_set_11n_rate() 82 rate_code = hdd_assemble_rate_code(preamble, nss, rix); in wlan_hdd_sta_set_11n_rate() [all …]
|
H A D | wlan_hdd_eht.c | 267 int hdd_set_11be_rate_code(struct hdd_adapter *adapter, uint16_t rate_code) in hdd_set_11be_rate_code() argument 288 if ((rate_code >> 8) != WMI_RATE_PREAMBLE_EHT) { in hdd_set_11be_rate_code() 289 hdd_err_rl("Invalid input: %x", rate_code); in hdd_set_11be_rate_code() 293 rix = RC_2_RATE_IDX_11BE(rate_code); in hdd_set_11be_rate_code() 294 preamble = rate_code >> 8; in hdd_set_11be_rate_code() 295 nss = HT_RC_2_STREAMS_11BE(rate_code) + 1; in hdd_set_11be_rate_code() 298 rate_code, rix, preamble, nss); in hdd_set_11be_rate_code() 302 rate_code, VDEV_CMD); in hdd_set_11be_rate_code()
|
H A D | wlan_hdd_sysfs_eht_rate.c | 39 uint16_t rate_code; in __hdd_sysfs_set_11be_fixed_rate() local 68 if (!token || kstrtou16(token, 0, &rate_code)) { in __hdd_sysfs_set_11be_fixed_rate() 73 hdd_set_11be_rate_code(adapter, rate_code); in __hdd_sysfs_set_11be_fixed_rate()
|
H A D | wlan_hdd_wext.c | 3781 int rate_code) in hdd_we_set_11n_rate() argument 3792 hdd_debug("Rate code %d", rate_code); in hdd_we_set_11n_rate() 3794 if (rate_code != 0xffff) { in hdd_we_set_11n_rate() 3795 rix = RC_2_RATE_IDX(rate_code); in hdd_we_set_11n_rate() 3796 if (rate_code & 0x80) { in hdd_we_set_11n_rate() 3798 nss = HT_RC_2_STREAMS(rate_code) - 1; in hdd_we_set_11n_rate() 3809 rate_code); in hdd_we_set_11n_rate() 3813 rix = RC_2_RATE_IDX(rate_code); in hdd_we_set_11n_rate() 3814 if (rate_code & 0x10) { in hdd_we_set_11n_rate() 3825 rate_code = hdd_assemble_rate_code(preamble, nss, rix); in hdd_we_set_11n_rate() [all …]
|
H A D | wlan_hdd_stats.c | 6755 uint32_t rate_code; in wlan_hdd_fill_rate_info() local 6759 rate_code = peer_info->tx_rate_code; in wlan_hdd_fill_rate_info() 6761 if ((WMI_GET_HW_RATECODE_PREAM_V1(rate_code)) == in wlan_hdd_fill_rate_info() 6764 else if ((WMI_GET_HW_RATECODE_PREAM_V1(rate_code)) == in wlan_hdd_fill_rate_info() 6770 txrx_stats->tx_rate.nss = WMI_GET_HW_RATECODE_NSS_V1(rate_code) + 1; in wlan_hdd_fill_rate_info() 6771 txrx_stats->tx_rate.mcs = WMI_GET_HW_RATECODE_RATE_V1(rate_code); in wlan_hdd_fill_rate_info() 6789 rate_code = peer_info->rx_rate_code; in wlan_hdd_fill_rate_info() 6791 if ((WMI_GET_HW_RATECODE_PREAM_V1(rate_code)) == in wlan_hdd_fill_rate_info() 6794 else if ((WMI_GET_HW_RATECODE_PREAM_V1(rate_code)) == in wlan_hdd_fill_rate_info() 6800 txrx_stats->rx_rate.nss = WMI_GET_HW_RATECODE_NSS_V1(rate_code) + 1; in wlan_hdd_fill_rate_info() [all …]
|
/wlan-driver/qcacld-3.0/core/hdd/inc/ |
H A D | wlan_hdd_eht.h | 91 int hdd_set_11be_rate_code(struct hdd_adapter *adapter, uint16_t rate_code); 124 hdd_set_11be_rate_code(struct hdd_adapter *adapter, uint16_t rate_code) in hdd_set_11be_rate_code() argument
|
/wlan-driver/fw-api/fw/ |
H A D | ol_fw_tx_dbg.h | 170 A_UINT8 rate_code; member
|
H A D | htt.h | 16751 A_UINT32 rate_code; /* rate code, bw, chain mask sgi */ member
|
/wlan-driver/qcacld-3.0/core/dp/htt/ |
H A D | htt_fw_stats.c | 890 uint8_t rate_code; in htt_t2h_tx_ppdu_log_print() local 942 rate_code = in htt_t2h_tx_ppdu_log_print() 971 tries, rate_code); in htt_t2h_tx_ppdu_log_print()
|
/wlan-driver/qcacld-3.0/core/wma/src/ |
H A D | wma_dev_if.c | 3336 uint32_t rate_code; in wma_update_beacon_tx_rate_code() local 3338 rate_code = mlme_obj->mgmt.rate_info.bcn_tx_rate; in wma_update_beacon_tx_rate_code() 3340 rix = rate_code & RATECODE_V1_RIX_MASK; in wma_update_beacon_tx_rate_code() 3341 nss = (rate_code >> RATECODE_V1_NSS_OFFSET) & RATECODE_V1_NSS_MASK; in wma_update_beacon_tx_rate_code() 3342 preamble = rate_code >> RATECODE_V1_PREAMBLE_OFFSET; in wma_update_beacon_tx_rate_code() 6430 static bool wma_verify_rate_code(uint32_t rate_code, enum cds_band_type band) in wma_verify_rate_code() argument 6435 preamble = (rate_code & 0xc0) >> 6; in wma_verify_rate_code() 6436 nss = (rate_code & 0x30) >> 4; in wma_verify_rate_code() 6437 rate = rate_code & 0xf; in wma_verify_rate_code()
|
H A D | wma_mgmt.c | 610 static bool wma_verify_rate_code(u_int32_t rate_code, enum cds_band_type band) in wma_verify_rate_code() argument 615 preamble = (rate_code & 0xc0) >> 6; in wma_verify_rate_code() 616 nss = (rate_code & 0x30) >> 4; in wma_verify_rate_code() 617 rate = rate_code & 0xf; in wma_verify_rate_code()
|