eiwd

no dbus iwd with iwctl functionality
git clone https://git.daat.foo/repos/eiwd.git
Log | Files | Refs | Submodules | README | LICENSE

commit 9ca72b952764f56a25e118fe04c66018084af295
parent 99b5c67c880098c606ec1a79e1f545e0602e7f69
Author: Denis Kenzior <denkenz@gmail.com>
Date:   Sun, 19 Aug 2018 22:52:52 -0500

netdev: Issue initial SET_CQM when in STATION mode

Diffstat:
Msrc/netdev.c | 7++++++-
1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/src/netdev.c b/src/netdev.c @@ -3886,6 +3886,10 @@ static void netdev_set_iftype_cb(struct l_genl_msg *msg, void *user_data) netdev->type = req->pending_type; + /* Set RSSI threshold for CQM notifications */ + if (netdev->type == NL80211_IFTYPE_STATION) + netdev_cqm_rssi_update(netdev); + /* If the netdev was down originally, we're done */ if (!req->bring_up) goto done; @@ -4576,7 +4580,8 @@ static void netdev_create_from_genl(struct l_genl_msg *msg) netdev_sa_query_req_frame_event, NULL); /* Set RSSI threshold for CQM notifications */ - netdev_cqm_rssi_update(netdev); + if (netdev->type == NL80211_IFTYPE_STATION) + netdev_cqm_rssi_update(netdev); } static void netdev_get_interface_callback(struct l_genl_msg *msg,