From: Benjamin Berg Date: Sun, 18 Jun 2023 18:49:52 +0000 (+0300) Subject: wifi: cfg80211: use structs for TBTT information access X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=8fb6c6a378cbfa6b11c20f555c4b710f6aebe3fb;hp=8fb6c6a378cbfa6b11c20f555c4b710f6aebe3fb;p=carl9170fw.git wifi: cfg80211: use structs for TBTT information access Make the data access a bit nicer overall by using structs. There is a small change here to also accept a TBTT information length of eight bytes as we do not require the 20 MHz PSD information. This also fixes a bug reading the short SSID on big endian machines. Signed-off-by: Benjamin Berg Signed-off-by: Gregory Greenman Link: https://lore.kernel.org/r/20230618214436.4c3f8901c1bc.Ic3e94fd6e1bccff7948a252ad3bb87e322690a17@changeid Signed-off-by: Johannes Berg Signed-off-by: Christian Lamparter ---