Lines Matching refs:rate_flags
344 u32 rate_flags = in __rate_control_send_low() local
355 rate_flags |= IEEE80211_RATE_ERP_G; in __rate_control_send_low()
362 if ((rate_flags & sband->bitrates[i].flags) != rate_flags) in __rate_control_send_low()
376 rate_mask, rate_flags); in __rate_control_send_low()
521 static void rate_idx_match_mask(s8 *rate_idx, u16 *rate_flags, in rate_idx_match_mask() argument
528 if (*rate_flags & IEEE80211_TX_RC_VHT_MCS) { in rate_idx_match_mask()
535 *rate_flags &= (IEEE80211_TX_RC_USE_RTS_CTS | in rate_idx_match_mask()
539 *rate_flags |= IEEE80211_TX_RC_MCS; in rate_idx_match_mask()
541 *rate_flags |= IEEE80211_TX_RC_40_MHZ_WIDTH; in rate_idx_match_mask()
547 *rate_flags &= ~(IEEE80211_TX_RC_MCS | in rate_idx_match_mask()
552 } else if (*rate_flags & IEEE80211_TX_RC_MCS) { in rate_idx_match_mask()
560 *rate_flags &= (IEEE80211_TX_RC_USE_RTS_CTS | in rate_idx_match_mask()
584 *rate_flags &= (IEEE80211_TX_RC_USE_RTS_CTS | in rate_idx_match_mask()
588 *rate_flags |= IEEE80211_TX_RC_MCS; in rate_idx_match_mask()
591 *rate_flags |= IEEE80211_TX_RC_40_MHZ_WIDTH; in rate_idx_match_mask()
832 u16 rate_flags, vht_mask[NL80211_VHT_NSS_MAX]; in rate_control_apply_mask() local
855 rate_flags = rates[i].flags; in rate_control_apply_mask()
856 rate_idx_match_mask(&rates[i].idx, &rate_flags, sband, in rate_control_apply_mask()
858 rates[i].flags = rate_flags; in rate_control_apply_mask()