Searched refs:capflag (Results 1 – 2 of 2) sorted by relevance
116 #define WLAN_RC_CAP_MODE(capflag) (((capflag & WLAN_RC_HT_FLAG) ? \ argument117 ((capflag & WLAN_RC_40_FLAG) ? RC_HT_40 : RC_HT_20) : RC_LEGACY))119 #define WLAN_RC_CAP_STREAM(capflag) (((capflag & WLAN_RC_TS_FLAG) ? \ argument120 (RC_TS) : ((capflag & WLAN_RC_DS_FLAG) ? RC_DS : RC_SS)))126 #define WLAN_RC_PHY_HT_VALID(flag, capflag) \ argument127 (((flag & RC_HT_20) && !(capflag & WLAN_RC_40_FLAG)) || \128 ((flag & RC_HT_40) && (capflag & WLAN_RC_40_FLAG)))
441 static int ath_rc_valid_phyrate(u32 phy, u32 capflag, int ignore_cw) in ath_rc_valid_phyrate() argument443 if (WLAN_RC_PHY_HT(phy) && !(capflag & WLAN_RC_HT_FLAG)) in ath_rc_valid_phyrate()445 if (WLAN_RC_PHY_DS(phy) && !(capflag & WLAN_RC_DS_FLAG)) in ath_rc_valid_phyrate()447 if (WLAN_RC_PHY_TS(phy) && !(capflag & WLAN_RC_TS_FLAG)) in ath_rc_valid_phyrate()449 if (WLAN_RC_PHY_SGI(phy) && !(capflag & WLAN_RC_SGI_FLAG)) in ath_rc_valid_phyrate()452 if (WLAN_RC_PHY_40(phy) && !(capflag & WLAN_RC_40_FLAG)) in ath_rc_valid_phyrate()476 u32 capflag) in ath_rc_init_validrates() argument485 if (!ath_rc_valid_phyrate(phy, capflag, 0)) in ath_rc_init_validrates()503 u32 capflag) in ath_rc_setvalid_rates() argument520 (rate_flags & WLAN_RC_CAP_MODE(capflag)) == in ath_rc_setvalid_rates()[all …]