/* Green-field mode is valid if the station supports it and there are no non-GF stations present in the BSS.  */
static u8 rs_use_green(struct ieee80211_sta *sta, struct iwl_ht_config *ht_conf)
/* Green-field mode is valid if the station supports it and there are no non-GF stations present in the BSS.  */
static u8 rs_use_green(struct ieee80211_sta *sta, struct iwl_ht_config *ht_conf)
{
	return (sta->ht_cap.cap & IEEE80211_HT_CAP_GRN_FLD) &&
		!(ht_conf->non_GF_STA_present);
}