Home
last modified time | relevance | path

Searched refs:chlen (Results 1 – 3 of 3) sorted by relevance

/linux-3.4.99/drivers/staging/rtl8187se/ieee80211/
Dieee80211_softmac.c1200 void ieee80211_rtl_auth_challenge(struct ieee80211_device *ieee, u8 *challenge, int chlen) in ieee80211_rtl_auth_challenge() argument
1210 skb = ieee80211_authentication_req(beacon, ieee, chlen+2); in ieee80211_rtl_auth_challenge()
1214 c = skb_put(skb, chlen+2); in ieee80211_rtl_auth_challenge()
1216 *(c++) = chlen; in ieee80211_rtl_auth_challenge()
1217 memcpy(c, challenge, chlen); in ieee80211_rtl_auth_challenge()
1423 static inline u16 auth_parse(struct sk_buff *skb, u8** challenge, int *chlen) in auth_parse() argument
1437 *chlen = *(t++); in auth_parse()
1438 *challenge = kmemdup(t, *chlen, GFP_ATOMIC); in auth_parse()
1778 int chlen=0; in ieee80211_rx_frame_softmac() local
1897 if (0 == (errcode=auth_parse(skb, &challenge, &chlen))){ in ieee80211_rx_frame_softmac()
[all …]
/linux-3.4.99/drivers/staging/rtl8192u/ieee80211/
Dieee80211_softmac.c1283 void ieee80211_auth_challenge(struct ieee80211_device *ieee, u8 *challenge, int chlen) in ieee80211_auth_challenge() argument
1293 skb = ieee80211_authentication_req(beacon, ieee, chlen+2); in ieee80211_auth_challenge()
1297 c = skb_put(skb, chlen+2); in ieee80211_auth_challenge()
1299 *(c++) = chlen; in ieee80211_auth_challenge()
1300 memcpy(c, challenge, chlen); in ieee80211_auth_challenge()
1537 static inline u16 auth_parse(struct sk_buff *skb, u8** challenge, int *chlen) in auth_parse() argument
1551 *chlen = *(t++); in auth_parse()
1552 *challenge = kmemdup(t, *chlen, GFP_ATOMIC); in auth_parse()
1928 int chlen=0; in ieee80211_rx_frame_softmac() local
2018 if (0 == (errcode=auth_parse(skb, &challenge, &chlen))){ in ieee80211_rx_frame_softmac()
[all …]
/linux-3.4.99/drivers/staging/rtl8192e/
Drtllib_softmac.c1477 static void rtllib_auth_challenge(struct rtllib_device *ieee, u8 *challenge, int chlen) in rtllib_auth_challenge() argument
1486 skb = rtllib_authentication_req(beacon, ieee, chlen + 2, beacon->bssid); in rtllib_auth_challenge()
1491 c = skb_put(skb, chlen+2); in rtllib_auth_challenge()
1493 *(c++) = chlen; in rtllib_auth_challenge()
1494 memcpy(c, challenge, chlen); in rtllib_auth_challenge()
1787 static inline u16 auth_parse(struct sk_buff *skb, u8** challenge, int *chlen) in auth_parse() argument
1802 *chlen = *(t++); in auth_parse()
1803 *challenge = kmalloc(*chlen, GFP_ATOMIC); in auth_parse()
1804 memcpy(*challenge, t, *chlen); /*TODO - check here*/ in auth_parse()
2302 int chlen = 0; in rtllib_rx_auth() local
[all …]