public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] staging: rtl8192e: Remove c files dot11d.c/.h
@ 2023-12-08 18:19 Philipp Hortmann
  2023-12-08 18:19 ` [PATCH 1/5] staging: rtl8192e: Remove function rtllib_update_active_chan_map() Philipp Hortmann
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Philipp Hortmann @ 2023-12-08 18:19 UTC (permalink / raw)
  To: Greg Kroah-Hartman, linux-staging, linux-kernel

Remove function rtllib_update_active_chan_map() as "active_channel_map"
and "channel_map" have the same content. Content of "channel_map" does
not change.

Tested with rtl8192e (WLL6130-D99) in Mode n (12.5 MB/s)
Transferred this patch over wlan connection of rtl8192e.

Used the following code for testing:
struct rt_dot11d_info *ph = priv->rtllib->dot11d_info;
for (i = 1; i <= 13; i++){
	printk("priv->rtllib->active_channel_map)  [%d] %d\n", i, priv->rtllib->active_channel_map[i]);
	printk("priv->rtllib->dot11d_info->chan_map[%d] %d\n", i, ph->channel_map[i]);
}
Log:
[ 1141.288386] priv->rtllib->active_channel_map)  [1] 1
[ 1141.288393] priv->rtllib->dot11d_info->chan_map[1] 1
[ 1141.288395] priv->rtllib->active_channel_map)  [2] 1
[ 1141.288396] priv->rtllib->dot11d_info->chan_map[2] 1
...
[ 1141.288426] priv->rtllib->active_channel_map)  [11] 1
[ 1141.288428] priv->rtllib->dot11d_info->chan_map[11] 1
[ 1141.288429] priv->rtllib->active_channel_map)  [12] 2
[ 1141.288431] priv->rtllib->dot11d_info->chan_map[12] 2
[ 1141.288433] priv->rtllib->active_channel_map)  [13] 2
[ 1141.288434] priv->rtllib->dot11d_info->chan_map[13] 2

Philipp Hortmann (5):
  staging: rtl8192e: Remove function rtllib_update_active_chan_map()
  staging: rtl8192e: Remove variable channel_map
  staging: rtl8192e: Remove variable dot11d_info
  staging: rtl8192e: Remove function dot11d_channel_map()
  staging: rtl8192e: Remove files dot11d.c and dot11d.h

 drivers/staging/rtl8192e/Makefile            |  1 -
 drivers/staging/rtl8192e/dot11d.c            | 29 -------------------
 drivers/staging/rtl8192e/dot11d.h            | 30 --------------------
 drivers/staging/rtl8192e/rtl8192e/rtl_core.c |  1 -
 drivers/staging/rtl8192e/rtl8192e/rtl_core.h |  2 --
 drivers/staging/rtl8192e/rtllib.h            |  1 -
 drivers/staging/rtl8192e/rtllib_rx.c         |  1 -
 drivers/staging/rtl8192e/rtllib_softmac.c    | 19 -------------
 drivers/staging/rtl8192e/rtllib_softmac_wx.c |  1 -
 9 files changed, 85 deletions(-)
 delete mode 100644 drivers/staging/rtl8192e/dot11d.c
 delete mode 100644 drivers/staging/rtl8192e/dot11d.h

-- 
2.43.0


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

end of thread, other threads:[~2023-12-08 18:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-08 18:19 [PATCH 0/5] staging: rtl8192e: Remove c files dot11d.c/.h Philipp Hortmann
2023-12-08 18:19 ` [PATCH 1/5] staging: rtl8192e: Remove function rtllib_update_active_chan_map() Philipp Hortmann
2023-12-08 18:19 ` [PATCH 2/5] staging: rtl8192e: Remove variable channel_map Philipp Hortmann
2023-12-08 18:19 ` [PATCH 3/5] staging: rtl8192e: Remove variable dot11d_info Philipp Hortmann
2023-12-08 18:19 ` [PATCH 4/5] staging: rtl8192e: Remove function dot11d_channel_map() Philipp Hortmann
2023-12-08 18:20 ` [PATCH 5/5] staging: rtl8192e: Remove files dot11d.c and dot11d.h Philipp Hortmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox