rtw_get_wps_ie(9)
π rtw_get_wps_ie(9) β the "where's the WPS IE bestie" hunt π
okay so this is a page from the Kernel API Manual, all about rtw_get_wps_ie β yes it's a mouthful, we're gonna get through it together π«Ά
β¨ NAME β¨
rtw_get_wps_ie β Search WPS IE from a series of IEs
like, you hand it a big pile of IEs and it goes digging for the WPS one ππ
πΈ SYNOPSIS πΈ
u8 * rtw_get_wps_ie (u8 *in_ie , uint in_len , u8 *wps_ie , uint *wps_ielen );
that's the whole vibe, no cap β¨
π ARGUMENTS π
in_ieβ the address of the IEs you wanna search through. literally the starting point of the hunt, bestie πin_lenβ the length limit fromin_ie. it's giving "don't wander past this line" π§wps_ieβ if this is notNULLand a WPS IE is found, the WPS IE gets copied into the buf starting fromwps_ieπ (yes, a little delivery service)wps_ielenβ if this is notNULLand a WPS IE is found, it gets set to the length of the entire WPS IE. the whole thing, not just a piece ππ
β RETURN β
The address of the WPS IE that was found β or NULL if it wasn't π₯²
so likeβ¦ check for NULL, bestie. seriously. don't just start dereferencing and hope for the best π
π¦ SEE ALSO π¦
Kernel file ./drivers/staging/rtl8723bs/core/rtw_ieee80211.c
and the rest of the friend group π:
rtw_get_ie_ex(9)rtw_ies_remove_ie(9)rtw_get_wps_attr(9)rtw_get_wps_attr_content(9)rtw_ieee802_11_parse_elems(9)
and that's the page!! π it lives over in ./drivers/staging/rtl8723bs/core, dated October 2026, and it's filed under rtw_get_wps_ie(9) β go forth and find those IEs, icon π
β¨π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms