WLAN_CAPABILITY_IBSS
(WLAN_CAPABILITY_ESS | WLAN_CAPABILITY_IBSS)) {
if (le16_to_cpu(mgmt->u.beacon.capab_info) & WLAN_CAPABILITY_IBSS) {
cap_val = WLAN_CAPABILITY_IBSS;
WLAN_CAPABILITY_IBSS) {
(priv->assoc_network->capability & WLAN_CAPABILITY_IBSS))
WLAN_CAPABILITY_IBSS))
!(network->capability & WLAN_CAPABILITY_IBSS))) {
!(network->capability & WLAN_CAPABILITY_IBSS))) {
network->capability = WLAN_CAPABILITY_IBSS;
if (network->capability & WLAN_CAPABILITY_IBSS)
if (network->capability & WLAN_CAPABILITY_IBSS)
BUG_ON(!(network->capability & WLAN_CAPABILITY_IBSS));
(network->capability & WLAN_CAPABILITY_IBSS) ? 0x3 : 0x0;
network->erp_value = (network->capability & WLAN_CAPABILITY_IBSS) ?
if (network->capability & (WLAN_CAPABILITY_ESS | WLAN_CAPABILITY_IBSS)) {
capability = WLAN_CAPABILITY_IBSS;
bss_info.bssid, 0, WLAN_CAPABILITY_IBSS,
bss_desc->cap_info_bitmap |= WLAN_CAPABILITY_IBSS;
tmp_cap = WLAN_CAPABILITY_IBSS;
if (bss_desc->cap_info_bitmap & WLAN_CAPABILITY_IBSS)
*(__le16 *)ie |= cpu_to_le16(WLAN_CAPABILITY_IBSS);
((s_cap & WLAN_CAPABILITY_IBSS) ==
(d_cap & WLAN_CAPABILITY_IBSS)) &&
if (caps&WLAN_CAPABILITY_IBSS) {/* adhoc master */
} else if (caps&WLAN_CAPABILITY_IBSS) { /* adhoc client */
(!((cap) & (WLAN_CAPABILITY_ESS | WLAN_CAPABILITY_IBSS)))
if (!(cbss->capability & WLAN_CAPABILITY_IBSS))
capability = WLAN_CAPABILITY_IBSS;
u16 capability = WLAN_CAPABILITY_IBSS;
mask = WLAN_CAPABILITY_ESS | WLAN_CAPABILITY_IBSS;
val = WLAN_CAPABILITY_IBSS;
if (bss->pub.capability & (WLAN_CAPABILITY_ESS | WLAN_CAPABILITY_IBSS) ||