Searched refs:chan_def (Results 1 – 1 of 1) sorted by relevance
7582 static u8 ath11k_mac_get_num_pwr_levels(struct cfg80211_chan_def *chan_def) in ath11k_mac_get_num_pwr_levels() argument7584 if (chan_def->chan->flags & IEEE80211_CHAN_PSD) { in ath11k_mac_get_num_pwr_levels()7585 switch (chan_def->width) { in ath11k_mac_get_num_pwr_levels()7599 switch (chan_def->width) { in ath11k_mac_get_num_pwr_levels()7615 static u16 ath11k_mac_get_6ghz_start_frequency(struct cfg80211_chan_def *chan_def) in ath11k_mac_get_6ghz_start_frequency() argument7628 switch (chan_def->width) { in ath11k_mac_get_6ghz_start_frequency()7643 return chan_def->center_freq1 - diff_seq; in ath11k_mac_get_6ghz_start_frequency()7646 static u16 ath11k_mac_get_seg_freq(struct cfg80211_chan_def *chan_def, in ath11k_mac_get_seg_freq() argument7664 if (chan_def->width == NL80211_CHAN_WIDTH_80P80 && seq == 3) in ath11k_mac_get_seg_freq()7665 return chan_def->center_freq2; in ath11k_mac_get_seg_freq()