Lines Matching refs:bi
2513 struct brcmf_bss_info_le *bi) in brcmf_inform_single_bss() argument
2528 if (le32_to_cpu(bi->length) > WL_BSS_INFO_MAX) { in brcmf_inform_single_bss()
2533 if (!bi->ctl_ch) { in brcmf_inform_single_bss()
2534 ch.chspec = le16_to_cpu(bi->chanspec); in brcmf_inform_single_bss()
2536 bi->ctl_ch = ch.chnum; in brcmf_inform_single_bss()
2538 channel = bi->ctl_ch; in brcmf_inform_single_bss()
2548 notify_capability = le16_to_cpu(bi->capability); in brcmf_inform_single_bss()
2549 notify_interval = le16_to_cpu(bi->beacon_period); in brcmf_inform_single_bss()
2550 notify_ie = (u8 *)bi + le16_to_cpu(bi->ie_offset); in brcmf_inform_single_bss()
2551 notify_ielen = le32_to_cpu(bi->ie_length); in brcmf_inform_single_bss()
2552 notify_signal = (s16)le16_to_cpu(bi->RSSI) * 100; in brcmf_inform_single_bss()
2554 brcmf_dbg(CONN, "bssid: %pM\n", bi->BSSID); in brcmf_inform_single_bss()
2562 (const u8 *)bi->BSSID, in brcmf_inform_single_bss()
2588 struct brcmf_bss_info_le *bi = NULL; /* must be initialized */ in brcmf_inform_bss() local
2601 bi = next_bss_le(bss_list, bi); in brcmf_inform_bss()
2602 err = brcmf_inform_single_bss(cfg, bi); in brcmf_inform_bss()
2614 struct brcmf_bss_info_le *bi = NULL; in wl_inform_ibss() local
2644 bi = (struct brcmf_bss_info_le *)(buf + 4); in wl_inform_ibss()
2646 ch.chspec = le16_to_cpu(bi->chanspec); in wl_inform_ibss()
2657 notify_capability = le16_to_cpu(bi->capability); in wl_inform_ibss()
2658 notify_interval = le16_to_cpu(bi->beacon_period); in wl_inform_ibss()
2659 notify_ie = (u8 *)bi + le16_to_cpu(bi->ie_offset); in wl_inform_ibss()
2660 notify_ielen = le32_to_cpu(bi->ie_length); in wl_inform_ibss()
2661 notify_signal = (s16)le16_to_cpu(bi->RSSI) * 100; in wl_inform_ibss()
2694 struct brcmf_bss_info_le *bi; in brcmf_update_bss_info() local
2717 bi = (struct brcmf_bss_info_le *)(cfg->extra_buf + 4); in brcmf_update_bss_info()
2718 err = brcmf_inform_single_bss(cfg, bi); in brcmf_update_bss_info()
2722 ie = ((u8 *)bi) + le16_to_cpu(bi->ie_offset); in brcmf_update_bss_info()
2723 ie_len = le32_to_cpu(bi->ie_length); in brcmf_update_bss_info()
2724 beacon_interval = le16_to_cpu(bi->beacon_period); in brcmf_update_bss_info()
4783 struct brcmf_bss_info_le *bi; in brcmf_bss_roaming_done() local
4809 bi = (struct brcmf_bss_info_le *)(buf + 4); in brcmf_bss_roaming_done()
4810 ch.chspec = le16_to_cpu(bi->chanspec); in brcmf_bss_roaming_done()