All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/10] staging: rtl8192e: Remove constant variable channel_plan
@ 2023-11-18  8:50 Philipp Hortmann
  2023-11-18  8:51 ` [PATCH 01/10] staging: rtl8192e: Remove unused return value of rtl92e_set_channel() Philipp Hortmann
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: Philipp Hortmann @ 2023-11-18  8:50 UTC (permalink / raw)
  To: Greg Kroah-Hartman, linux-staging, linux-kernel

Remove constant variable channel_plan to increase readability of the code.

Tested with rtl8192e (WLL6130-D99) in Mode n (12.5 MB/s)
Transferred this patch over wlan connection of rtl8192e.
Tested on Channels: 1, 2, 10, 13

Philipp Hortmann (10):
  staging: rtl8192e: Remove unused return value of rtl92e_set_channel()
  staging: rtl8192e: Change parameter "ch" of set_chan() to u8
  staging: rtl8192e: Unwind pointer to pointer to rtl92e_set_channel()
  staging: rtl8192e: Remove equation that results in constant for
    chnl_plan
  staging: rtl8192e: Remove constant variable chnl_plan
  staging: rtl8192e: Remove unused variable eeprom_chnl_plan
  staging: rtl8192e: Remove equation to check limits of channel
  staging: rtl8192e: Remove check if channel_array[channel_plan].len !=
    0
  staging: rtl8192e: Remove switch for a constant in
    dot11d_channel_map()
  staging: rtl8192e: Remove constant index from channel_array[]

 drivers/staging/rtl8192e/dot11d.c             | 63 +++----------------
 drivers/staging/rtl8192e/dot11d.h             |  2 +-
 .../staging/rtl8192e/rtl8192e/r8192E_dev.c    | 12 ----
 .../staging/rtl8192e/rtl8192e/r8192E_phy.c    | 12 ++--
 .../staging/rtl8192e/rtl8192e/r8192E_phy.h    |  2 +-
 drivers/staging/rtl8192e/rtl8192e/rtl_core.c  | 20 +-----
 drivers/staging/rtl8192e/rtl8192e/rtl_core.h  |  4 --
 drivers/staging/rtl8192e/rtllib.h             |  2 +-
 8 files changed, 21 insertions(+), 96 deletions(-)

-- 
2.42.0


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2023-11-18  8:52 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-18  8:50 [PATCH 00/10] staging: rtl8192e: Remove constant variable channel_plan Philipp Hortmann
2023-11-18  8:51 ` [PATCH 01/10] staging: rtl8192e: Remove unused return value of rtl92e_set_channel() Philipp Hortmann
2023-11-18  8:51 ` [PATCH 02/10] staging: rtl8192e: Change parameter "ch" of set_chan() to u8 Philipp Hortmann
2023-11-18  8:51 ` [PATCH 03/10] staging: rtl8192e: Unwind pointer to pointer to rtl92e_set_channel() Philipp Hortmann
2023-11-18  8:51 ` [PATCH 04/10] staging: rtl8192e: Remove equation that results in constant for chnl_plan Philipp Hortmann
2023-11-18  8:51 ` [PATCH 05/10] staging: rtl8192e: Remove constant variable chnl_plan Philipp Hortmann
2023-11-18  8:51 ` [PATCH 06/10] staging: rtl8192e: Remove unused variable eeprom_chnl_plan Philipp Hortmann
2023-11-18  8:51 ` [PATCH 07/10] staging: rtl8192e: Remove equation to check limits of channel Philipp Hortmann
2023-11-18  8:51 ` [PATCH 08/10] staging: rtl8192e: Remove check if channel_array[channel_plan].len != 0 Philipp Hortmann
2023-11-18  8:52 ` [PATCH 09/10] staging: rtl8192e: Remove switch for a constant in dot11d_channel_map() Philipp Hortmann
2023-11-18  8:52 ` [PATCH 10/10] staging: rtl8192e: Remove constant index from channel_array[] Philipp Hortmann

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.