Lines Matching refs:ch_width

1368 uint8_t wlan_mlme_convert_phy_ch_width_to_eht_op_bw(enum phy_ch_width ch_width)  in wlan_mlme_convert_phy_ch_width_to_eht_op_bw()  argument
1370 switch (ch_width) { in wlan_mlme_convert_phy_ch_width_to_eht_op_bw()
1509 enum phy_ch_width *ch_width) in wlan_mlme_get_sta_ch_width() argument
1519 if (ch_width && peer && in wlan_mlme_get_sta_ch_width()
1525 *ch_width = wlan_mlme_get_ch_width_from_phymode(phymode); in wlan_mlme_get_sta_ch_width()
6275 if (ch_params->ch_width == CH_WIDTH_160MHZ) { in wlan_mlme_check_chan_param_has_dfs()
6283 } else if (ch_params->ch_width == CH_WIDTH_80P80MHZ) { in wlan_mlme_check_chan_param_has_dfs()
7272 enum phy_ch_width ch_width; in wlan_mlme_get_ch_width_from_phymode() local
7275 ch_width = CH_WIDTH_320MHZ; in wlan_mlme_get_ch_width_from_phymode()
7277 ch_width = CH_WIDTH_160MHZ; in wlan_mlme_get_ch_width_from_phymode()
7279 ch_width = CH_WIDTH_80MHZ; in wlan_mlme_get_ch_width_from_phymode()
7281 ch_width = CH_WIDTH_40MHZ; in wlan_mlme_get_ch_width_from_phymode()
7283 ch_width = CH_WIDTH_20MHZ; in wlan_mlme_get_ch_width_from_phymode()
7285 mlme_legacy_debug("phymode: %d, ch_width: %d ", phy_mode, ch_width); in wlan_mlme_get_ch_width_from_phymode()
7287 return ch_width; in wlan_mlme_get_ch_width_from_phymode()
7604 wmi_host_channel_width ch_width) in wlan_mlme_update_vdev_chwidth_with_notify() argument
7616 param.param_value = ch_width; in wlan_mlme_update_vdev_chwidth_with_notify()
7640 enum phy_ch_width ch_width, in wlan_mlme_update_ch_width() argument
7665 ch_params.ch_width = ch_width; in wlan_mlme_update_ch_width()
7672 des_chan->ch_width = ch_width; in wlan_mlme_update_ch_width()
7689 ch_params.center_freq_seg1, ch_params.ch_width, in wlan_mlme_update_ch_width()
7696 wlan_mlme_get_vht_rate_flags(enum phy_ch_width ch_width) in wlan_mlme_get_vht_rate_flags() argument
7700 if (ch_width == CH_WIDTH_80P80MHZ || ch_width == CH_WIDTH_160MHZ) in wlan_mlme_get_vht_rate_flags()
7703 if (ch_width == CH_WIDTH_80MHZ) in wlan_mlme_get_vht_rate_flags()
7705 else if (ch_width) in wlan_mlme_get_vht_rate_flags()
7712 static uint32_t wlan_mlme_get_ht_rate_flags(enum phy_ch_width ch_width) in wlan_mlme_get_ht_rate_flags() argument
7716 if (ch_width) in wlan_mlme_get_ht_rate_flags()
7726 wlan_mlme_get_eht_rate_flags(enum phy_ch_width ch_width) in wlan_mlme_get_eht_rate_flags() argument
7730 if (ch_width == CH_WIDTH_320MHZ) in wlan_mlme_get_eht_rate_flags()
7733 else if (ch_width == CH_WIDTH_160MHZ || ch_width == CH_WIDTH_80P80MHZ) in wlan_mlme_get_eht_rate_flags()
7736 else if (ch_width == CH_WIDTH_80MHZ) in wlan_mlme_get_eht_rate_flags()
7738 else if (ch_width) in wlan_mlme_get_eht_rate_flags()
7748 enum phy_ch_width ch_width) in wlan_mlme_set_bss_rate_flags_eht() argument
7753 *rate_flags |= wlan_mlme_get_eht_rate_flags(ch_width); in wlan_mlme_set_bss_rate_flags_eht()
7760 enum phy_ch_width ch_width) in wlan_mlme_set_bss_rate_flags_eht() argument
7767 static uint32_t wlan_mlme_get_he_rate_flags(enum phy_ch_width ch_width) in wlan_mlme_get_he_rate_flags() argument
7771 if (ch_width == CH_WIDTH_160MHZ || in wlan_mlme_get_he_rate_flags()
7772 ch_width == CH_WIDTH_80P80MHZ) in wlan_mlme_get_he_rate_flags()
7775 else if (ch_width == CH_WIDTH_80MHZ) in wlan_mlme_get_he_rate_flags()
7777 else if (ch_width) in wlan_mlme_get_he_rate_flags()
7787 enum phy_ch_width ch_width) in wlan_mlme_set_bss_rate_flags_he() argument
7792 *rate_flags |= wlan_mlme_get_he_rate_flags(ch_width); in wlan_mlme_set_bss_rate_flags_he()
7801 enum phy_ch_width ch_width) in wlan_mlme_set_bss_rate_flags_he() argument
7885 enum phy_ch_width ch_width) in wlan_mlme_send_ch_width_update_with_notify() argument
7904 if (omn_ie_ch_width != CH_WIDTH_INVALID && ch_width > omn_ie_ch_width) { in wlan_mlme_send_ch_width_update_with_notify()
7906 vdev_id, ch_width, omn_ie_ch_width); in wlan_mlme_send_ch_width_update_with_notify()
7913 ch_width > associated_ch_width) { in wlan_mlme_send_ch_width_update_with_notify()
7915 vdev_id, ch_width, associated_ch_width); in wlan_mlme_send_ch_width_update_with_notify()
7920 if (ch_width == CH_WIDTH_40MHZ && in wlan_mlme_send_ch_width_update_with_notify()
7924 } else if (ch_width != CH_WIDTH_20MHZ) { in wlan_mlme_send_ch_width_update_with_notify()
7926 vdev_id, ch_width, des_chan->ch_freq, in wlan_mlme_send_ch_width_update_with_notify()
7933 status = wlan_mlme_update_ch_width(vdev, vdev_id, ch_width, 0, in wlan_mlme_send_ch_width_update_with_notify()
7937 vdev_id, ch_width, status); in wlan_mlme_send_ch_width_update_with_notify()
7941 wmi_chan_width = target_if_phy_ch_width_to_wmi_chan_width(ch_width); in wlan_mlme_send_ch_width_update_with_notify()
7948 vdev_id, ch_width, status); in wlan_mlme_send_ch_width_update_with_notify()
8104 set_omi_ch_width(enum phy_ch_width ch_width, struct omi_ctrl_tx *omi_data) in set_omi_ch_width() argument
8106 switch (ch_width) { in set_omi_ch_width()
8138 enum phy_ch_width ch_width; in wlan_mlme_set_ul_mu_config() local
8199 &freq_seg_0, &ch_width); in wlan_mlme_set_ul_mu_config()
8209 status = set_omi_ch_width(ch_width, &omi_data); in wlan_mlme_set_ul_mu_config()
8255 enum phy_ch_width ch_width) in wlan_mlme_set_ap_oper_ch_width() argument
8267 mlme_priv->mlme_ap.oper_ch_width = ch_width; in wlan_mlme_set_ap_oper_ch_width()
8304 enum phy_ch_width ch_width; in wlan_mlme_get_bw_no_punct() local
8320 ch_width = bss_chan->ch_width; in wlan_mlme_get_bw_no_punct()
8322 while (ch_width != CH_WIDTH_INVALID) { in wlan_mlme_get_bw_no_punct()
8323 status = wlan_reg_extract_puncture_by_bw(bss_chan->ch_width, in wlan_mlme_get_bw_no_punct()
8327 ch_width, in wlan_mlme_get_bw_no_punct()
8330 ch_width = wlan_get_next_lower_bandwidth(ch_width); in wlan_mlme_get_bw_no_punct()
8335 if (ch_width == bss_chan->ch_width) in wlan_mlme_get_bw_no_punct()
8340 bss_chan->ch_width, ch_width); in wlan_mlme_get_bw_no_punct()
8342 *new_ch_width = ch_width; in wlan_mlme_get_bw_no_punct()