[00/10] staging: r8188eu: clean up OnBeacon

Message ID 20221126160129.178697-1-martin@kaiser.cx
Headers
Series staging: r8188eu: clean up OnBeacon |

Message

Martin Kaiser Nov. 26, 2022, 4:01 p.m. UTC
  This series cleans up the OnBeacon function. It tries to replace
driver-sepcific message parsing with ieee80211 helper functions.

Please apply this after the "another round of cleanups" series.

Martin Kaiser (10):
  staging: r8188eu: replace one GetAddr3Ptr call
  staging: r8188eu: read timestamp from ieee80211_mgmt
  staging: r8188eu: replace GetAddr2Ptr calls
  staging: r8188eu: pass only ies to process_p2p_ps_ie
  staging: r8188eu: use ie buffer in update_beacon_info
  staging: r8188eu: simplify update_sta_support_rate params
  staging: r8188eu: exit if beacon is not from our bss
  staging: r8188eu: stop beacon processing if kmalloc fails
  staging: r8188eu: simplify error handling for missing station
  staging: r8188eu: remove a variable

 drivers/staging/r8188eu/core/rtw_mlme_ext.c   | 130 ++++++++----------
 drivers/staging/r8188eu/core/rtw_p2p.c        |  11 +-
 drivers/staging/r8188eu/core/rtw_wlan_util.c  |   9 +-
 .../staging/r8188eu/include/rtw_mlme_ext.h    |   3 +-
 4 files changed, 66 insertions(+), 87 deletions(-)
  

Comments

Philipp Hortmann Nov. 27, 2022, 2:45 p.m. UTC | #1
On 11/26/22 17:01, Martin Kaiser wrote:
> This series cleans up the OnBeacon function. It tries to replace
> driver-sepcific message parsing with ieee80211 helper functions.
> 
> Please apply this after the "another round of cleanups" series.
> 
> Martin Kaiser (10):
>    staging: r8188eu: replace one GetAddr3Ptr call
>    staging: r8188eu: read timestamp from ieee80211_mgmt
>    staging: r8188eu: replace GetAddr2Ptr calls
>    staging: r8188eu: pass only ies to process_p2p_ps_ie
>    staging: r8188eu: use ie buffer in update_beacon_info
>    staging: r8188eu: simplify update_sta_support_rate params
>    staging: r8188eu: exit if beacon is not from our bss
>    staging: r8188eu: stop beacon processing if kmalloc fails
>    staging: r8188eu: simplify error handling for missing station
>    staging: r8188eu: remove a variable
> 
>   drivers/staging/r8188eu/core/rtw_mlme_ext.c   | 130 ++++++++----------
>   drivers/staging/r8188eu/core/rtw_p2p.c        |  11 +-
>   drivers/staging/r8188eu/core/rtw_wlan_util.c  |   9 +-
>   .../staging/r8188eu/include/rtw_mlme_ext.h    |   3 +-
>   4 files changed, 66 insertions(+), 87 deletions(-)
> 
Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> # Edimax N150