[PATCH 0/4] convert internal units to KHz

Thomas Pedersen thomas at adapt-ip.com
Wed Nov 18 11:22:27 EST 2020


Hi Jouni,

Is there any hope for this patch set? Just checking before I rebase and 
retest.

Also I think "convert internal frequencies to KHz" got me unsubscribed 
last time due to being several hundred kB :). Is there a better way to 
submit large patches?


On 2020-06-17 23:15, Thomas Pedersen wrote:
> This patch set converts the internal frequency units to KHz, which will
> allow us to add support for S1G channels in the near future. See patch
> 1/4 for more details.
> 
> The hwsim tests pass (against wt-2020-05-28) as well as they can:
> 
> Failed test cases:
> wpas_config_file dpp_ap_config_p384_p256 fst_dynamic_iface_attach
> scan_parsing ap_hs20_anqp_invalid_gas_response
> Failed even on retry:
> wpas_config_file ap_hs20_anqp_invalid_gas_response 
> fst_dynamic_iface_attach
> TOTAL=3602 PASS=3525 FAIL=8 SKIP=66
> Logs: /tmp/hwsim-test-logs/1592460575
> Missing items (SKIP): ['OCSP-MULTI', 'CONFIG_SUITEB192', 'wmediumd']
> 
> Thomas Pedersen (4):
>   wpa_supplicant: fix compile warning
>   convert internal frequencies to KHz
>   nl82011: support frequency offset
>   nl80211: perform scan in KHz if available
> 
>  hostapd/config_file.c                       |  16 +-
>  hostapd/ctrl_iface.c                        |  59 ++---
>  src/ap/acs.c                                |  20 +-
>  src/ap/ctrl_iface_ap.c                      |   9 +-
>  src/ap/dfs.c                                | 105 +++++----
>  src/ap/dpp_hostapd.c                        | 105 ++++-----
>  src/ap/drv_callbacks.c                      |  41 ++--
>  src/ap/gas_query_ap.c                       |  12 +-
>  src/ap/hostapd.c                            |  18 +-
>  src/ap/hw_features.c                        |  57 ++---
>  src/ap/ieee802_11.c                         |   5 +-
>  src/ap/ieee802_11_ht.c                      |  16 +-
>  src/ap/ieee802_11_shared.c                  |  12 +-
>  src/ap/neighbor_db.c                        |   2 +-
>  src/ap/wnm_ap.c                             |   6 +-
>  src/ap/wpa_auth.c                           |  10 +-
>  src/ap/wpa_auth_ft.c                        |   6 +-
>  src/common/dpp.c                            |  33 +--
>  src/common/gas_server.c                     |  14 +-
>  src/common/hw_features_common.c             |  71 +++---
>  src/common/ieee802_11_common.c              | 115 +++++-----
>  src/common/ieee802_11_defs.h                |   4 +
>  src/common/ocv.c                            |   6 +-
>  src/common/wpa_common.c                     |   2 +-
>  src/drivers/driver.h                        |  31 +--
>  src/drivers/driver_atheros.c                |   4 +-
>  src/drivers/driver_bsd.c                    |   3 +-
>  src/drivers/driver_hostap.c                 |   2 +-
>  src/drivers/driver_ndis.c                   |   2 +-
>  src/drivers/driver_nl80211.c                | 190 +++++++++-------
>  src/drivers/driver_nl80211_capa.c           |  87 ++++---
>  src/drivers/driver_nl80211_event.c          | 119 ++++++----
>  src/drivers/driver_nl80211_scan.c           |  33 ++-
>  src/drivers/driver_privsep.c                |  12 +-
>  src/drivers/driver_wext.c                   |   2 +-
>  src/eap_peer/eap_pwd.c                      |   2 +-
>  src/p2p/p2p.c                               |  82 +++----
>  src/p2p/p2p.h                               |   2 +-
>  src/p2p/p2p_build.c                         |   4 +-
>  src/p2p/p2p_dev_disc.c                      |   2 +-
>  src/p2p/p2p_go_neg.c                        |  10 +-
>  src/p2p/p2p_invitation.c                    |   8 +-
>  src/p2p/p2p_pd.c                            |   4 +-
>  src/p2p/p2p_sd.c                            |   4 +-
>  src/p2p/p2p_utils.c                         |  16 +-
>  src/rsn_supp/wpa.c                          |   5 +-
>  src/utils/common.c                          |  29 ++-
>  src/utils/common.h                          |   1 +
>  tests/ap-mgmt-fuzzer/ap-mgmt-fuzzer.c       |   2 +-
>  tests/hwsim/test_wpas_ctrl.py               |   8 +-
>  wpa_supplicant/ap.c                         |  23 +-
>  wpa_supplicant/bgscan_learn.c               |  18 +-
>  wpa_supplicant/bss.c                        |   4 +-
>  wpa_supplicant/bss.h                        |   4 +-
>  wpa_supplicant/config.c                     |  84 +++++--
>  wpa_supplicant/config_file.c                |  14 +-
>  wpa_supplicant/ctrl_iface.c                 | 108 +++++----
>  wpa_supplicant/dbus/dbus_new.c              |   8 +-
>  wpa_supplicant/dbus/dbus_new_handlers.c     |  25 +-
>  wpa_supplicant/dbus/dbus_new_handlers_p2p.c |  12 +-
>  wpa_supplicant/dpp_supplicant.c             | 190 ++++++++--------
>  wpa_supplicant/events.c                     |  56 ++---
>  wpa_supplicant/gas_query.c                  |  23 +-
>  wpa_supplicant/interworking.c               |   2 +-
>  wpa_supplicant/mesh.c                       |  10 +-
>  wpa_supplicant/offchannel.c                 |  20 +-
>  wpa_supplicant/op_classes.c                 |   8 +-
>  wpa_supplicant/p2p_supplicant.c             | 238 ++++++++++----------
>  wpa_supplicant/rrm.c                        |   7 +-
>  wpa_supplicant/scan.c                       |  25 +-
>  wpa_supplicant/scan.h                       |   2 +-
>  wpa_supplicant/sme.c                        |  55 ++---
>  wpa_supplicant/wnm_sta.c                    |  10 +-
>  wpa_supplicant/wpa_cli.c                    |   1 +
>  wpa_supplicant/wpa_supplicant.c             |  30 +--
>  wpa_supplicant/wps_supplicant.c             |  32 +--
>  76 files changed, 1334 insertions(+), 1083 deletions(-)

-- 
thomas



More information about the Hostap mailing list