b43: N-PHY: put radio-specific code in separated file
RFC PATCH 1/1 b43: N-PHY: put radio-specific code in separated file
---
OK, I got scared about size of tables file for N-PHY ;) It became quite big and I am going to add rev3+ tables which means about 6K new lines of data.
My idea is to put PHY-specific data in tables_nphy and radio-specific in radio_X. I prefer having more files instead of single 10K+ monsters.
What do you think about this? If that OK? Maybe I should put radio files in some subdir? Comments welcome :)
--- drivers/net/wireless/b43/Makefile | 1 + drivers/net/wireless/b43/phy_n.c | 1 + drivers/net/wireless/b43/phy_n.h | 210 ----- drivers/net/wireless/b43/radio_2055.c | 1332 ++++++++++++++++++++++++++++++++ drivers/net/wireless/b43/radio_2055.h | 254 ++++++ drivers/net/wireless/b43/tables_nphy.c | 1309 ------------------------------- drivers/net/wireless/b43/tables_nphy.h | 44 -- 7 files changed, 1588 insertions(+), 1563 deletions(-) create mode 100644 drivers/net/wireless/b43/radio_2055.c create mode 100644 drivers/net/wireless/b43/radio_2055.h
drivers/net/wireless/b43/Makefile +1 -0
@@ -1,6 +1,7 @@ b43-y += main.o b43-y += tables.o b43-$(CONFIG_B43_NPHY) += tables_nphy.o +b43-$(CONFIG_B43_NPHY) += radio_2055.o b43-y += phy_common.o b43-y += phy_g.o b43-y += phy_a.o
drivers/net/wireless/b43/phy_n.c +1 -0
@@ -29,6 +29,7 @@#include "b43.h" #include "phy_n.h" #include "tables_nphy.h" +#include "radio_2055.h" #include "main.h" struct nphy_txgains {
drivers/net/wireless/b43/phy_n.h +0 -210
216 lines not on this page · raw message
drivers/net/wireless/b43/radio_2055.c new file +1332 -0
1,332 lines not on this page · raw message
drivers/net/wireless/b43/radio_2055.h new file +254 -0
254 lines not on this page · raw message
drivers/net/wireless/b43/tables_nphy.c +0 -1309
1,184 lines not on this page · raw message
drivers/net/wireless/b43/tables_nphy.h +0 -44
44 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Signature · 1 line
1.7.1
Part of the diff is not shown here. View the raw message.