Lines Matching refs:ht_capab
38 cap->ht_capabilities_info = host_to_le16(hapd->iconf->ht_capab); in hostapd_eid_ht_capabilities()
227 if (!(iface->conf->ht_capab & HT_CAP_INFO_SUPP_CHANNEL_WIDTH_SET)) { in hostapd_2040_coex_action()
358 const u8 *ht_capab) in copy_sta_ht_capab() argument
365 if (!ht_capab || !(sta->flags & WLAN_STA_WMM) || in copy_sta_ht_capab()
381 os_memcpy(sta->ht_capabilities, ht_capab, in copy_sta_ht_capab()
420 (iface->conf->ht_capab & HT_CAP_INFO_SUPP_CHANNEL_WIDTH_SET) && in ht40_intolerant_remove()
436 u16 ht_capab; in update_sta_ht() local
438 ht_capab = le_to_host16(sta->ht_capabilities->ht_capabilities_info); in update_sta_ht()
440 "0x%04x", MAC2STR(sta->addr), ht_capab); in update_sta_ht()
441 if ((ht_capab & HT_CAP_INFO_GREEN_FIELD) == 0) { in update_sta_ht()
451 if ((ht_capab & HT_CAP_INFO_SUPP_CHANNEL_WIDTH_SET) == 0) { in update_sta_ht()
462 if (ht_capab & HT_CAP_INFO_40MHZ_INTOLERANT) in update_sta_ht()
509 cap &= (hapd->iconf->ht_capab | HT_CAP_INFO_RX_STBC_MASK | in hostapd_get_ht_capab()
517 if (!(hapd->iconf->ht_capab & HT_CAP_INFO_RX_STBC_MASK)) in hostapd_get_ht_capab()
519 if (!(hapd->iconf->ht_capab & HT_CAP_INFO_TX_STBC)) in hostapd_get_ht_capab()