Przeglądaj źródła

libertas: implement new scanning logic

This changes the code that is used for scanning and makes it hopefully
easier to understand:

* move function into logical blocks
* create a bunch of lbs_scan_add_XXXX_tlv() functions, that
  help to create the TLV parameter of CMD_802_11_SCAN
* all of them are now called from the much simpler lbs_do_scan()
* no **puserscancfg double-pointers :-)

Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de>
Acked-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Holger Schurig 17 lat temu
rodzic
commit
ffd074fc78
2 zmienionych plików z 301 dodań i 455 usunięć
  1. 1 2
      drivers/net/wireless/libertas/dev.h
  2. 300 453
      drivers/net/wireless/libertas/scan.c

+ 1 - 2
drivers/net/wireless/libertas/dev.h

@@ -366,9 +366,8 @@ struct lbs_adapter {
 	struct cmd_ds_802_11_get_log logmsg;
 
 	u32 monitormode;
+	int last_scanned_channel;
 	u8 fw_ready;
-
-	u8 last_scanned_channel;
 };
 
 #endif

Plik diff jest za duży
+ 300 - 453
drivers/net/wireless/libertas/scan.c


Niektóre pliki nie zostały wyświetlone z powodu dużej ilości zmienionych plików