Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/staging/rtl8192u/ieee80211/
Dieee80211_softmac.c2945 struct ieee80211_disassoc *disass; in ieee80211_disassociate_skb() local
2951 disass = skb_put(skb, sizeof(struct ieee80211_disassoc)); in ieee80211_disassociate_skb()
2952 disass->header.frame_ctl = cpu_to_le16(IEEE80211_STYPE_DISASSOC); in ieee80211_disassociate_skb()
2953 disass->header.duration_id = 0; in ieee80211_disassociate_skb()
2955 memcpy(disass->header.addr1, beacon->bssid, ETH_ALEN); in ieee80211_disassociate_skb()
2956 memcpy(disass->header.addr2, ieee->dev->dev_addr, ETH_ALEN); in ieee80211_disassociate_skb()
2957 memcpy(disass->header.addr3, beacon->bssid, ETH_ALEN); in ieee80211_disassociate_skb()
2959 disass->reason = cpu_to_le16(asRsn); in ieee80211_disassociate_skb()
/Linux-v4.19/drivers/staging/rtl8192e/
Drtllib_softmac.c3101 struct rtllib_disassoc *disass; in rtllib_disassociate_skb() local
3111 disass = skb_put(skb, sizeof(struct rtllib_disassoc)); in rtllib_disassociate_skb()
3112 disass->header.frame_ctl = cpu_to_le16(RTLLIB_STYPE_DISASSOC); in rtllib_disassociate_skb()
3113 disass->header.duration_id = 0; in rtllib_disassociate_skb()
3115 ether_addr_copy(disass->header.addr1, beacon->bssid); in rtllib_disassociate_skb()
3116 ether_addr_copy(disass->header.addr2, ieee->dev->dev_addr); in rtllib_disassociate_skb()
3117 ether_addr_copy(disass->header.addr3, beacon->bssid); in rtllib_disassociate_skb()
3119 disass->reason = cpu_to_le16(asRsn); in rtllib_disassociate_skb()