[PATCH 0/6] Clean up wcn struct by removing or moving variables

Olof Johansson dev at skyshaper.net
Tue Jul 9 05:19:58 EDT 2013


The main purpose of this patch is to remove unnecessary variables from the wcn struct.

Most of these are removed since they were the result of double book keeping.
In this case they are replaces by their original variable, most often from the
cfg80211 or mac80211 stack.

One patch moves a variable to a better struct.

I will submit more patches like this in the future, but lets start with these.

Olof Johansson (6):
  Remove wcn->iftype variable
  Use vif address instead of wcn for sta add
  Remove int ch variable from wcn struct
  Remove band variable from wcn struct
  Remove center_freq variable from wcn struct
  Move is_joining to wcn_sta struct

 main.c    | 45 ++++++++++++++++++++++++++-------------------
 smd.c     | 16 ++++++++--------
 smd.h     |  2 +-
 txrx.c    | 11 ++++++-----
 wcn36xx.h | 13 +++++++------
 5 files changed, 48 insertions(+), 39 deletions(-)

-- 
1.8.3.1




More information about the wcn36xx mailing list