Lines Matching refs:ibss
1534 if (wdev->u.ibss.current_bss) in nl80211_key_allowed()
3781 if (wdev->u.ibss.ssid_len && in nl80211_send_iface()
3782 nla_put(msg, NL80211_ATTR_SSID, wdev->u.ibss.ssid_len, in nl80211_send_iface()
3783 wdev->u.ibss.ssid)) in nl80211_send_iface()
9658 if (!wdev->u.ibss.ssid_len) in nl80211_channel_switch()
9946 if (intbss == wdev->u.ibss.current_bss && in nl80211_send_bss()
10707 struct cfg80211_ibss_params ibss; in nl80211_join_ibss() local
10712 memset(&ibss, 0, sizeof(ibss)); in nl80211_join_ibss()
10718 ibss.beacon_interval = 100; in nl80211_join_ibss()
10721 ibss.beacon_interval = in nl80211_join_ibss()
10725 ibss.beacon_interval); in nl80211_join_ibss()
10738 ibss.bssid = nla_data(info->attrs[NL80211_ATTR_MAC]); in nl80211_join_ibss()
10740 if (!is_valid_ether_addr(ibss.bssid)) in nl80211_join_ibss()
10743 ibss.ssid = nla_data(info->attrs[NL80211_ATTR_SSID]); in nl80211_join_ibss()
10744 ibss.ssid_len = nla_len(info->attrs[NL80211_ATTR_SSID]); in nl80211_join_ibss()
10747 ibss.ie = nla_data(info->attrs[NL80211_ATTR_IE]); in nl80211_join_ibss()
10748 ibss.ie_len = nla_len(info->attrs[NL80211_ATTR_IE]); in nl80211_join_ibss()
10751 err = nl80211_parse_chandef(rdev, info, &ibss.chandef); in nl80211_join_ibss()
10755 if (!cfg80211_reg_can_beacon(&rdev->wiphy, &ibss.chandef, in nl80211_join_ibss()
10759 switch (ibss.chandef.width) { in nl80211_join_ibss()
10784 ibss.channel_fixed = !!info->attrs[NL80211_ATTR_FREQ_FIXED]; in nl80211_join_ibss()
10785 ibss.privacy = !!info->attrs[NL80211_ATTR_PRIVACY]; in nl80211_join_ibss()
10793 wiphy->bands[ibss.chandef.chan->band]; in nl80211_join_ibss()
10796 &ibss.basic_rates); in nl80211_join_ibss()
10802 memcpy(&ibss.ht_capa_mask, in nl80211_join_ibss()
10804 sizeof(ibss.ht_capa_mask)); in nl80211_join_ibss()
10809 memcpy(&ibss.ht_capa, in nl80211_join_ibss()
10811 sizeof(ibss.ht_capa)); in nl80211_join_ibss()
10815 !nl80211_parse_mcast_rate(rdev, ibss.mcast_rate, in nl80211_join_ibss()
10819 if (ibss.privacy && info->attrs[NL80211_ATTR_KEYS]) { in nl80211_join_ibss()
10826 if ((ibss.chandef.width != NL80211_CHAN_WIDTH_20_NOHT) && in nl80211_join_ibss()
10833 ibss.control_port = in nl80211_join_ibss()
10844 ibss.control_port_over_nl80211 = true; in nl80211_join_ibss()
10847 ibss.userspace_handles_dfs = in nl80211_join_ibss()
10851 err = __cfg80211_join_ibss(rdev, dev, &ibss, connkeys); in nl80211_join_ibss()
14979 if (wdev->u.ibss.current_bss) in nl80211_tx_control_port()
18302 wdev->u.ibss.chandef = *chandef; in cfg80211_ch_switch_notify()