Skip to content

ath9k|ath9k_htc: move dups to common-beacon

Oleksij Rempel ath9k-devel linux-wireless 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest23 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/23ath9k: move struct ath_beacon_config to commondrivers/net/wireless/ath/ath9k/ath9k.h drivers/net/wireless/ath/ath9k/common.h+9 -90 replies
2/23ath9k_htc: use common ath_beacon_configdrivers/net/wireless/ath/ath9k/htc.h drivers/net/wireless/ath/ath9k/htc_drv_beacon.c drivers/net/wireless/ath/ath9k/htc_drv_init.c+25 -270 replies
3/23ath9k_htc: move beaconq to struct htc_beacondrivers/net/wireless/ath/ath9k/htc.h drivers/net/wireless/ath/ath9k/htc_drv_beacon.c drivers/net/wireless/ath/ath9k/htc_drv_init.c+7 -70 replies
4/23ath9k_htc: use ath_beacon_conf.enable_beacondrivers/net/wireless/ath/ath9k/htc.h drivers/net/wireless/ath/ath9k/htc_drv_beacon.c drivers/net/wireless/ath/ath9k/htc_drv_main.c+4 -50 replies
5/23ath9k: move sc_flags to ath_commondrivers/net/wireless/ath/ath.h drivers/net/wireless/ath/ath9k/ahb.c drivers/net/wireless/ath/ath9k/ath9k.h +7 more+70 -570 replies
6/23ath9k_htc: use common->op_flagsdrivers/net/wireless/ath/ath9k/htc.h drivers/net/wireless/ath/ath9k/htc_drv_beacon.c drivers/net/wireless/ath/ath9k/htc_drv_init.c +2 more+19 -180 replies
7/23ath9k_htc: add ATH_OP_PRIM_STA_VIFdrivers/net/wireless/ath/ath9k/htc_drv_main.c+4 -00 replies
8/23ath9k: remove unused bc_tstampdrivers/net/wireless/ath/ath9k/ath9k.h+0 -10 replies
9/23ath9k_htc: sync beacon slot code with ath9kdrivers/net/wireless/ath/ath9k/htc.h drivers/net/wireless/ath/ath9k/htc_drv_init.c drivers/net/wireless/ath/ath9k/htc_drv_main.c+24 -40 replies
10/23ath9k: remove unused beacon_qidrivers/net/wireless/ath/ath9k/ath9k.h+0 -10 replies
11/23ath9k|ath9k_htc: move IEEE80211_MS_TO_TU to commondrivers/net/wireless/ath/ath9k/ath9k.h drivers/net/wireless/ath/ath9k/common.h drivers/net/wireless/ath/ath9k/htc.h+2 -20 replies
12/23ath9k-common: add nexttbtt and intval to ath_beacon_configdrivers/net/wireless/ath/ath9k/common.h+2 -00 replies
13/23ath9k: move ath9k_beacon_config_sta to common-beacondrivers/net/wireless/ath/ath9k/Makefile drivers/net/wireless/ath/ath9k/beacon.c drivers/net/wireless/ath/ath9k/common-beacon.c +2 more+153 -780 replies
14/23ath9k_htc: use ath9k_cmn_beacon_config_stadrivers/net/wireless/ath/ath9k/htc_drv_beacon.c+2 -820 replies
15/23ath9k: move ath9k_beacon_config_adhoc to commondrivers/net/wireless/ath/ath9k/beacon.c drivers/net/wireless/ath/ath9k/common-beacon.c drivers/net/wireless/ath/ath9k/common-beacon.h+29 -190 replies
16/23ath9k_htc: add ath9k_htc_beacon_init (but not use it)drivers/net/wireless/ath/ath9k/htc_drv_beacon.c+22 -00 replies
17/23ath9k_htc: use ath9k_htc_beacon_init in ath9k_htc_beacon_config_apdrivers/net/wireless/ath/ath9k/htc_drv_beacon.c+11 -200 replies
18/23ath9k_htc: use ath9k_htc_beacon_init in ath9k_htc_beacon_config_adhocdrivers/net/wireless/ath/ath9k/htc_drv_beacon.c+12 -190 replies
19/23ath9k_htc: use ath9k_cmn_beacon_config_adhocdrivers/net/wireless/ath/ath9k/htc_drv_beacon.c+7 -280 replies
20/23ath9k: move ath9k_beacon_config_ap commondrivers/net/wireless/ath/ath9k/beacon.c drivers/net/wireless/ath/ath9k/common-beacon.c drivers/net/wireless/ath/ath9k/common-beacon.h+34 -190 replies
21/23ath9k: remove unused ath9k_get_next_tbttdrivers/net/wireless/ath/ath9k/beacon.c+0 -270 replies
22/23ath9k_htc: use ath9k_cmn_beacon_config_apdrivers/net/wireless/ath/ath9k/htc_drv_beacon.c+8 -350 replies
23/23ath9k_htc: move DEFAULT_SWBA_RESPONSE check to ath9k_htc_beacon_initdrivers/net/wireless/ath/ath9k/htc_drv_beacon.c+5 -170 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/23] ath9k|ath9k_htc: move dups to common-beacon

Next patch set. It removes only easy duplicats of beacon code. Other parts of need deeper rework to make it compatible with ath9k.

Oleksij Rempel (23):
ath9k: move struct ath_beacon_config to common
ath9k_htc: use common ath_beacon_config
ath9k_htc: move beaconq to struct htc_beacon
ath9k_htc: use ath_beacon_conf.enable_beacon
ath9k: move sc_flags to ath_common
ath9k_htc: use common->op_flags
ath9k_htc: add ATH_OP_PRIM_STA_VIF
ath9k: remove unused bc_tstamp
ath9k_htc: sync beacon slot code with ath9k
ath9k: remove unused beacon_qi
ath9k|ath9k_htc: move IEEE80211_MS_TO_TU to common
ath9k-common: add nexttbtt and intval to ath_beacon_config
ath9k: move ath9k_beacon_config_sta to common-beacon
ath9k_htc: use ath9k_cmn_beacon_config_sta
ath9k: move ath9k_beacon_config_adhoc to common
ath9k_htc: add ath9k_htc_beacon_init (but not use it)
ath9k_htc: use ath9k_htc_beacon_init in ath9k_htc_beacon_config_ap
ath9k_htc: use ath9k_htc_beacon_init in ath9k_htc_beacon_config_adhoc
ath9k_htc: use ath9k_cmn_beacon_config_adhoc
ath9k: move ath9k_beacon_config_ap common
ath9k: remove unused ath9k_get_next_tbtt
ath9k_htc: use ath9k_cmn_beacon_config_ap
ath9k_htc: move DEFAULT_SWBA_RESPONSE check to ath9k_htc_beacon_init

 drivers/net/wireless/ath/ath.h                  |  10 +
 drivers/net/wireless/ath/ath9k/Makefile         |   3 +-
 drivers/net/wireless/ath/ath9k/ahb.c            |   7 +-
 drivers/net/wireless/ath/ath9k/ath9k.h          |  22 ---
 drivers/net/wireless/ath/ath9k/beacon.c         | 165 ++--------------
 drivers/net/wireless/ath/ath9k/common-beacon.c  | 180 +++++++++++++++++
 drivers/net/wireless/ath/ath9k/common-beacon.h  |  26 +++
 drivers/net/wireless/ath/ath9k/common.h         |  14 ++
 drivers/net/wireless/ath/ath9k/debug.c          |   2 +-
 drivers/net/wireless/ath/ath9k/htc.h            |  25 +--
 drivers/net/wireless/ath/ath9k/htc_drv_beacon.c | 252 ++++++------------------
 drivers/net/wireless/ath/ath9k/htc_drv_init.c   |  10 +-
 drivers/net/wireless/ath/ath9k/htc_drv_main.c   |  53 +++--
 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c   |   3 +-
 drivers/net/wireless/ath/ath9k/link.c           |  16 +-
 drivers/net/wireless/ath/ath9k/main.c           |  45 +++--
 drivers/net/wireless/ath/ath9k/mci.c            |   2 +-
 drivers/net/wireless/ath/ath9k/pci.c            |   8 +-
 drivers/net/wireless/ath/ath9k/xmit.c           |   9 +-
 19 files changed, 413 insertions(+), 439 deletions(-)
 create mode 100644 drivers/net/wireless/ath/ath9k/common-beacon.c
 create mode 100644 drivers/net/wireless/ath/ath9k/common-beacon.h
Signature · 1 line
1.9.0