Home
last modified time | relevance | path

Searched refs:disass (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/drivers/staging/rtl8192u/ieee80211/
Dieee80211_softmac.c2942 struct ieee80211_disassoc *disass; in ieee80211_disassociate_skb() local
2948 disass = skb_put(skb, sizeof(struct ieee80211_disassoc)); in ieee80211_disassociate_skb()
2949 disass->header.frame_ctl = cpu_to_le16(IEEE80211_STYPE_DISASSOC); in ieee80211_disassociate_skb()
2950 disass->header.duration_id = 0; in ieee80211_disassociate_skb()
2952 memcpy(disass->header.addr1, beacon->bssid, ETH_ALEN); in ieee80211_disassociate_skb()
2953 memcpy(disass->header.addr2, ieee->dev->dev_addr, ETH_ALEN); in ieee80211_disassociate_skb()
2954 memcpy(disass->header.addr3, beacon->bssid, ETH_ALEN); in ieee80211_disassociate_skb()
2956 disass->reason = cpu_to_le16(asRsn); in ieee80211_disassociate_skb()
/Linux-v5.4/drivers/staging/rtl8192e/
Drtllib_softmac.c3088 struct rtllib_disassoc *disass; in rtllib_disassociate_skb() local
3098 disass = skb_put(skb, sizeof(struct rtllib_disassoc)); in rtllib_disassociate_skb()
3099 disass->header.frame_ctl = cpu_to_le16(RTLLIB_STYPE_DISASSOC); in rtllib_disassociate_skb()
3100 disass->header.duration_id = 0; in rtllib_disassociate_skb()
3102 ether_addr_copy(disass->header.addr1, beacon->bssid); in rtllib_disassociate_skb()
3103 ether_addr_copy(disass->header.addr2, ieee->dev->dev_addr); in rtllib_disassociate_skb()
3104 ether_addr_copy(disass->header.addr3, beacon->bssid); in rtllib_disassociate_skb()
3106 disass->reason = cpu_to_le16(asRsn); in rtllib_disassociate_skb()