Searched refs:capflag (Results 1 – 2 of 2) sorted by relevance
83 #define WLAN_RC_CAP_MODE(capflag) (((capflag & WLAN_RC_HT_FLAG) ? \ argument84 (capflag & WLAN_RC_40_FLAG) ? VALID_40 : VALID_20 : VALID))91 #define WLAN_RC_PHY_HT_VALID(flag, capflag) \ argument92 (((flag & VALID_20) && !(capflag & WLAN_RC_40_FLAG)) || \93 ((flag & VALID_40) && (capflag & WLAN_RC_40_FLAG)))
516 arn_rc_valid_phyrate(uint32_t phy, uint32_t capflag, int ignore_cw) in arn_rc_valid_phyrate() argument518 if (WLAN_RC_PHY_HT(phy) && !(capflag & WLAN_RC_HT_FLAG)) in arn_rc_valid_phyrate()520 if (WLAN_RC_PHY_DS(phy) && !(capflag & WLAN_RC_DS_FLAG)) in arn_rc_valid_phyrate()522 if (WLAN_RC_PHY_SGI(phy) && !(capflag & WLAN_RC_SGI_FLAG)) in arn_rc_valid_phyrate()525 if (WLAN_RC_PHY_40(phy) && !(capflag & WLAN_RC_40_FLAG)) in arn_rc_valid_phyrate()527 if (!WLAN_RC_PHY_40(phy) && (capflag & WLAN_RC_40_FLAG)) in arn_rc_valid_phyrate()553 struct ath_rate_table *rate_table, uint32_t capflag) in arn_rc_init_validrates() argument566 if (!arn_rc_valid_phyrate(phy, capflag, 0)) in arn_rc_init_validrates()586 uint32_t capflag) in arn_rc_setvalid_rates() argument606 ((valid & WLAN_RC_CAP_MODE(capflag)) == in arn_rc_setvalid_rates()[all …]