/kernel/linux/linux-5.10/drivers/watchdog/ |
D | omap_wdt.c | 71 static void omap_wdt_reload(struct omap_wdt_dev *wdev) in omap_wdt_reload() argument 73 void __iomem *base = wdev->base; in omap_wdt_reload() 79 wdev->wdt_trgr_pattern = ~wdev->wdt_trgr_pattern; in omap_wdt_reload() 80 writel_relaxed(wdev->wdt_trgr_pattern, (base + OMAP_WATCHDOG_TGR)); in omap_wdt_reload() 88 static void omap_wdt_enable(struct omap_wdt_dev *wdev) in omap_wdt_enable() argument 90 void __iomem *base = wdev->base; in omap_wdt_enable() 102 static void omap_wdt_disable(struct omap_wdt_dev *wdev) in omap_wdt_disable() argument 104 void __iomem *base = wdev->base; in omap_wdt_disable() 116 static void omap_wdt_set_timer(struct omap_wdt_dev *wdev, in omap_wdt_set_timer() argument 120 void __iomem *base = wdev->base; in omap_wdt_set_timer() [all …]
|
D | imx2_wdt.c | 94 struct imx2_wdt_device *wdev = watchdog_get_drvdata(wdog); in imx2_wdt_restart() local 98 if (wdev->ext_reset) in imx2_wdt_restart() 104 regmap_write(wdev->regmap, IMX2_WDT_WCR, wcr_enable); in imx2_wdt_restart() 112 regmap_write(wdev->regmap, IMX2_WDT_WCR, wcr_enable); in imx2_wdt_restart() 113 regmap_write(wdev->regmap, IMX2_WDT_WCR, wcr_enable); in imx2_wdt_restart() 123 struct imx2_wdt_device *wdev = watchdog_get_drvdata(wdog); in imx2_wdt_setup() local 126 regmap_read(wdev->regmap, IMX2_WDT_WCR, &val); in imx2_wdt_setup() 133 if (!wdev->ext_reset) in imx2_wdt_setup() 143 regmap_write(wdev->regmap, IMX2_WDT_WCR, val); in imx2_wdt_setup() 147 regmap_write(wdev->regmap, IMX2_WDT_WCR, val); in imx2_wdt_setup() [all …]
|
D | pm8916_wdt.c | 35 struct watchdog_device wdev; member 39 static int pm8916_wdt_start(struct watchdog_device *wdev) in pm8916_wdt_start() argument 41 struct pm8916_wdt *wdt = watchdog_get_drvdata(wdev); in pm8916_wdt_start() 48 static int pm8916_wdt_stop(struct watchdog_device *wdev) in pm8916_wdt_stop() argument 50 struct pm8916_wdt *wdt = watchdog_get_drvdata(wdev); in pm8916_wdt_stop() 57 static int pm8916_wdt_ping(struct watchdog_device *wdev) in pm8916_wdt_ping() argument 59 struct pm8916_wdt *wdt = watchdog_get_drvdata(wdev); in pm8916_wdt_ping() 66 static int pm8916_wdt_configure_timers(struct watchdog_device *wdev) in pm8916_wdt_configure_timers() argument 68 struct pm8916_wdt *wdt = watchdog_get_drvdata(wdev); in pm8916_wdt_configure_timers() 73 wdev->timeout - wdev->pretimeout); in pm8916_wdt_configure_timers() [all …]
|
D | retu_wdt.c | 34 static void retu_wdt_ping_enable(struct retu_wdt_dev *wdev) in retu_wdt_ping_enable() argument 36 retu_write(wdev->rdev, RETU_REG_WATCHDOG, RETU_WDT_MAX_TIMER); in retu_wdt_ping_enable() 37 schedule_delayed_work(&wdev->ping_work, in retu_wdt_ping_enable() 41 static void retu_wdt_ping_disable(struct retu_wdt_dev *wdev) in retu_wdt_ping_disable() argument 43 retu_write(wdev->rdev, RETU_REG_WATCHDOG, RETU_WDT_MAX_TIMER); in retu_wdt_ping_disable() 44 cancel_delayed_work_sync(&wdev->ping_work); in retu_wdt_ping_disable() 49 struct retu_wdt_dev *wdev = container_of(to_delayed_work(work), in retu_wdt_ping_work() local 51 retu_wdt_ping_enable(wdev); in retu_wdt_ping_work() 56 struct retu_wdt_dev *wdev = watchdog_get_drvdata(wdog); in retu_wdt_start() local 58 retu_wdt_ping_disable(wdev); in retu_wdt_start() [all …]
|
D | visconti_wdt.c | 35 struct watchdog_device wdev; member 40 static int visconti_wdt_start(struct watchdog_device *wdev) in visconti_wdt_start() argument 42 struct visconti_wdt_priv *priv = watchdog_get_drvdata(wdev); in visconti_wdt_start() 43 u32 timeout = wdev->timeout * VISCONTI_WDT_FREQ; in visconti_wdt_start() 54 static int visconti_wdt_stop(struct watchdog_device *wdev) in visconti_wdt_stop() argument 56 struct visconti_wdt_priv *priv = watchdog_get_drvdata(wdev); in visconti_wdt_stop() 73 static unsigned int visconti_wdt_get_timeleft(struct watchdog_device *wdev) in visconti_wdt_get_timeleft() argument 75 struct visconti_wdt_priv *priv = watchdog_get_drvdata(wdev); in visconti_wdt_get_timeleft() 76 u32 timeout = wdev->timeout * VISCONTI_WDT_FREQ; in visconti_wdt_get_timeleft() 86 static int visconti_wdt_set_timeout(struct watchdog_device *wdev, unsigned int timeout) in visconti_wdt_set_timeout() argument [all …]
|
D | renesas_wdt.c | 50 struct watchdog_device wdev; member 65 static int rwdt_init_timeout(struct watchdog_device *wdev) in rwdt_init_timeout() argument 67 struct rwdt_priv *priv = watchdog_get_drvdata(wdev); in rwdt_init_timeout() 69 rwdt_write(priv, 65536 - MUL_BY_CLKS_PER_SEC(priv, wdev->timeout), RWTCNT); in rwdt_init_timeout() 83 static int rwdt_start(struct watchdog_device *wdev) in rwdt_start() argument 85 struct rwdt_priv *priv = watchdog_get_drvdata(wdev); in rwdt_start() 88 pm_runtime_get_sync(wdev->parent); in rwdt_start() 96 rwdt_init_timeout(wdev); in rwdt_start() 108 static int rwdt_stop(struct watchdog_device *wdev) in rwdt_stop() argument 110 struct rwdt_priv *priv = watchdog_get_drvdata(wdev); in rwdt_stop() [all …]
|
D | uniphier_wdt.c | 57 struct uniphier_wdt_dev *wdev = watchdog_get_drvdata(w); in uniphier_watchdog_ping() local 62 ret = regmap_write_bits(wdev->regmap, WDTCTRL, in uniphier_watchdog_ping() 69 ret = regmap_read_poll_timeout(wdev->regmap, WDTCTRL, val, in uniphier_watchdog_ping() 126 struct uniphier_wdt_dev *wdev = watchdog_get_drvdata(w); in uniphier_watchdog_start() local 131 return __uniphier_watchdog_start(wdev->regmap, tmp_timeout); in uniphier_watchdog_start() 136 struct uniphier_wdt_dev *wdev = watchdog_get_drvdata(w); in uniphier_watchdog_stop() local 138 return __uniphier_watchdog_stop(wdev->regmap); in uniphier_watchdog_stop() 144 struct uniphier_wdt_dev *wdev = watchdog_get_drvdata(w); in uniphier_watchdog_set_timeout() local 153 ret = __uniphier_watchdog_restart(wdev->regmap, tmp_timeout); in uniphier_watchdog_set_timeout() 185 struct uniphier_wdt_dev *wdev; in uniphier_wdt_probe() local [all …]
|
D | rza_wdt.c | 43 struct watchdog_device wdev; member 74 static int rza_wdt_start(struct watchdog_device *wdev) in rza_wdt_start() argument 76 struct rza_wdt *priv = watchdog_get_drvdata(wdev); in rza_wdt_start() 85 rza_wdt_calc_timeout(priv, wdev->timeout); in rza_wdt_start() 95 static int rza_wdt_stop(struct watchdog_device *wdev) in rza_wdt_stop() argument 97 struct rza_wdt *priv = watchdog_get_drvdata(wdev); in rza_wdt_stop() 104 static int rza_wdt_ping(struct watchdog_device *wdev) in rza_wdt_ping() argument 106 struct rza_wdt *priv = watchdog_get_drvdata(wdev); in rza_wdt_ping() 110 pr_debug("%s: timeout = %u\n", __func__, wdev->timeout); in rza_wdt_ping() 115 static int rza_set_timeout(struct watchdog_device *wdev, unsigned int timeout) in rza_set_timeout() argument [all …]
|
/kernel/linux/linux-5.10/drivers/staging/wfx/ |
D | hwio.c | 29 static int read32(struct wfx_dev *wdev, int reg, u32 *val) in read32() argument 37 ret = wdev->hwbus_ops->copy_from_io(wdev->hwbus_priv, reg, tmp, in read32() 43 dev_err(wdev->dev, "%s: bus communication error: %d\n", in read32() 48 static int write32(struct wfx_dev *wdev, int reg, u32 val) in write32() argument 56 ret = wdev->hwbus_ops->copy_to_io(wdev->hwbus_priv, reg, tmp, in write32() 60 dev_err(wdev->dev, "%s: bus communication error: %d\n", in write32() 65 static int read32_locked(struct wfx_dev *wdev, int reg, u32 *val) in read32_locked() argument 69 wdev->hwbus_ops->lock(wdev->hwbus_priv); in read32_locked() 70 ret = read32(wdev, reg, val); in read32_locked() 72 wdev->hwbus_ops->unlock(wdev->hwbus_priv); in read32_locked() [all …]
|
D | bh.c | 18 static void device_wakeup(struct wfx_dev *wdev) in device_wakeup() argument 22 if (!wdev->pdata.gpio_wakeup) in device_wakeup() 24 if (gpiod_get_value_cansleep(wdev->pdata.gpio_wakeup) > 0) in device_wakeup() 27 if (wfx_api_older_than(wdev, 1, 4)) { in device_wakeup() 28 gpiod_set_value_cansleep(wdev->pdata.gpio_wakeup, 1); in device_wakeup() 29 if (!completion_done(&wdev->hif.ctrl_ready)) in device_wakeup() 34 gpiod_set_value_cansleep(wdev->pdata.gpio_wakeup, 1); in device_wakeup() 39 if (wait_for_completion_timeout(&wdev->hif.ctrl_ready, in device_wakeup() 41 complete(&wdev->hif.ctrl_ready); in device_wakeup() 47 dev_err(wdev->dev, "timeout while wake up chip\n"); in device_wakeup() [all …]
|
D | main.c | 155 bool wfx_api_older_than(struct wfx_dev *wdev, int major, int minor) in wfx_api_older_than() argument 157 if (wdev->hw_caps.api_version_major < major) in wfx_api_older_than() 159 if (wdev->hw_caps.api_version_major > major) in wfx_api_older_than() 161 if (wdev->hw_caps.api_version_minor < minor) in wfx_api_older_than() 167 int wfx_send_pds(struct wfx_dev *wdev, u8 *buf, size_t len) in wfx_send_pds() argument 175 dev_err(wdev->dev, "valid PDS start with '{'. Did you forget to compress it?\n"); in wfx_send_pds() 189 dev_dbg(wdev->dev, "send PDS '%s}'\n", buf + start); in wfx_send_pds() 191 ret = hif_configuration(wdev, buf + start, in wfx_send_pds() 194 dev_err(wdev->dev, "PDS bytes %d to %d: invalid data (unsupported options?)\n", in wfx_send_pds() 199 dev_err(wdev->dev, "PDS bytes %d to %d: chip didn't reply (corrupted file?)\n", in wfx_send_pds() [all …]
|
D | hif_rx.c | 20 static int hif_generic_confirm(struct wfx_dev *wdev, in hif_generic_confirm() argument 28 WARN(!mutex_is_locked(&wdev->hif_cmd.lock), "data locking error"); in hif_generic_confirm() 30 if (!wdev->hif_cmd.buf_send) { in hif_generic_confirm() 31 dev_warn(wdev->dev, "unexpected confirmation: 0x%.2x\n", cmd); in hif_generic_confirm() 35 if (cmd != wdev->hif_cmd.buf_send->id) { in hif_generic_confirm() 36 dev_warn(wdev->dev, in hif_generic_confirm() 38 cmd, wdev->hif_cmd.buf_send->id); in hif_generic_confirm() 42 if (wdev->hif_cmd.buf_recv) { in hif_generic_confirm() 43 if (wdev->hif_cmd.len_recv >= len && len > 0) in hif_generic_confirm() 44 memcpy(wdev->hif_cmd.buf_recv, buf, len); in hif_generic_confirm() [all …]
|
D | fwio.c | 83 static int sram_write_dma_safe(struct wfx_dev *wdev, u32 addr, const u8 *buf, in sram_write_dma_safe() argument 96 ret = sram_buf_write(wdev, addr, tmp, len); in sram_write_dma_safe() 102 static int get_firmware(struct wfx_dev *wdev, u32 keyset_chip, in get_firmware() argument 111 wdev->pdata.file_fw, keyset_chip); in get_firmware() 112 ret = firmware_request_nowarn(fw, filename, wdev->dev); in get_firmware() 114 dev_info(wdev->dev, "can't load %s, falling back to %s.sec\n", in get_firmware() 115 filename, wdev->pdata.file_fw); in get_firmware() 117 wdev->pdata.file_fw); in get_firmware() 118 ret = request_firmware(fw, filename, wdev->dev); in get_firmware() 120 dev_err(wdev->dev, "can't load %s\n", filename); in get_firmware() [all …]
|
D | queue.c | 17 void wfx_tx_lock(struct wfx_dev *wdev) in wfx_tx_lock() argument 19 atomic_inc(&wdev->tx_lock); in wfx_tx_lock() 22 void wfx_tx_unlock(struct wfx_dev *wdev) in wfx_tx_unlock() argument 24 int tx_lock = atomic_dec_return(&wdev->tx_lock); in wfx_tx_unlock() 28 wfx_bh_request_tx(wdev); in wfx_tx_unlock() 31 void wfx_tx_flush(struct wfx_dev *wdev) in wfx_tx_flush() argument 36 if (wdev->chip_frozen) in wfx_tx_flush() 39 wfx_tx_lock(wdev); in wfx_tx_flush() 40 mutex_lock(&wdev->hif_cmd.lock); in wfx_tx_flush() 41 ret = wait_event_timeout(wdev->hif.tx_buffers_empty, in wfx_tx_flush() [all …]
|
D | sta.c | 23 u32 wfx_rate_mask_to_hw(struct wfx_dev *wdev, u32 rates) in wfx_rate_mask_to_hw() argument 28 struct ieee80211_supported_band *sband = wdev->hw->wiphy->bands[NL80211_BAND_2GHZ]; in wfx_rate_mask_to_hw() 33 dev_warn(wdev->dev, "unsupported basic rate\n"); in wfx_rate_mask_to_hw() 43 struct wfx_dev *wdev = container_of(to_delayed_work(work), in wfx_cooling_timeout_work() local 47 wdev->chip_frozen = true; in wfx_cooling_timeout_work() 48 wfx_tx_unlock(wdev); in wfx_cooling_timeout_work() 51 void wfx_suspend_hot_dev(struct wfx_dev *wdev, enum sta_notify_cmd cmd) in wfx_suspend_hot_dev() argument 55 if (cancel_delayed_work(&wdev->cooling_timeout_work)) in wfx_suspend_hot_dev() 56 wfx_tx_unlock(wdev); in wfx_suspend_hot_dev() 59 schedule_delayed_work(&wdev->cooling_timeout_work, 10 * HZ); in wfx_suspend_hot_dev() [all …]
|
D | hwio.h | 15 int wfx_data_read(struct wfx_dev *wdev, void *buf, size_t buf_len); 16 int wfx_data_write(struct wfx_dev *wdev, const void *buf, size_t buf_len); 18 int sram_buf_read(struct wfx_dev *wdev, u32 addr, void *buf, size_t len); 19 int sram_buf_write(struct wfx_dev *wdev, u32 addr, const void *buf, size_t len); 21 int ahb_buf_read(struct wfx_dev *wdev, u32 addr, void *buf, size_t len); 22 int ahb_buf_write(struct wfx_dev *wdev, u32 addr, const void *buf, size_t len); 24 int sram_reg_read(struct wfx_dev *wdev, u32 addr, u32 *val); 25 int sram_reg_write(struct wfx_dev *wdev, u32 addr, u32 val); 27 int ahb_reg_read(struct wfx_dev *wdev, u32 addr, u32 *val); 28 int ahb_reg_write(struct wfx_dev *wdev, u32 addr, u32 val); [all …]
|
D | hif_tx.c | 49 int wfx_cmd_send(struct wfx_dev *wdev, struct hif_msg *request, in wfx_cmd_send() argument 59 if (wdev->chip_frozen) in wfx_cmd_send() 62 mutex_lock(&wdev->hif_cmd.lock); in wfx_cmd_send() 63 WARN(wdev->hif_cmd.buf_send, "data locking error"); in wfx_cmd_send() 67 wdev->hif_cmd.buf_send = request; in wfx_cmd_send() 68 wdev->hif_cmd.buf_recv = reply; in wfx_cmd_send() 69 wdev->hif_cmd.len_recv = reply_len; in wfx_cmd_send() 70 complete(&wdev->hif_cmd.ready); in wfx_cmd_send() 72 wfx_bh_request_tx(wdev); in wfx_cmd_send() 78 wdev->hif_cmd.buf_send = NULL; in wfx_cmd_send() [all …]
|
D | debug.c | 65 struct wfx_dev *wdev = seq->private; in wfx_counters_show() local 69 ret = hif_get_counters_table(wdev, i, counters + i); in wfx_counters_show() 151 struct wfx_dev *wdev = seq->private; in wfx_rx_stats_show() local 152 struct hif_rx_stats *st = &wdev->rx_stats; in wfx_rx_stats_show() 155 mutex_lock(&wdev->rx_stats_lock); in wfx_rx_stats_show() 175 mutex_unlock(&wdev->rx_stats_lock); in wfx_rx_stats_show() 183 struct wfx_dev *wdev = seq->private; in wfx_tx_power_loop_show() local 184 struct hif_tx_power_loop_info *st = &wdev->tx_power_loop_info; in wfx_tx_power_loop_show() 187 mutex_lock(&wdev->tx_power_loop_info_lock); in wfx_tx_power_loop_show() 199 mutex_unlock(&wdev->tx_power_loop_info_lock); in wfx_tx_power_loop_show() [all …]
|
/kernel/linux/linux-5.10/net/wireless/ |
D | ibss.c | 21 struct wireless_dev *wdev = dev->ieee80211_ptr; in __cfg80211_ibss_joined() local 27 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_ADHOC)) in __cfg80211_ibss_joined() 30 if (!wdev->ssid_len) in __cfg80211_ibss_joined() 33 bss = cfg80211_get_bss(wdev->wiphy, channel, bssid, NULL, 0, in __cfg80211_ibss_joined() 39 if (wdev->current_bss) { in __cfg80211_ibss_joined() 40 cfg80211_unhold_bss(wdev->current_bss); in __cfg80211_ibss_joined() 41 cfg80211_put_bss(wdev->wiphy, &wdev->current_bss->pub); in __cfg80211_ibss_joined() 45 wdev->current_bss = bss_from_pub(bss); in __cfg80211_ibss_joined() 47 if (!(wdev->wiphy->flags & WIPHY_FLAG_HAS_STATIC_WEP)) in __cfg80211_ibss_joined() 48 cfg80211_upload_connect_keys(wdev); in __cfg80211_ibss_joined() [all …]
|
D | wext-sme.c | 19 struct wireless_dev *wdev) in cfg80211_mgd_wext_connect() argument 26 ASSERT_WDEV_LOCK(wdev); in cfg80211_mgd_wext_connect() 28 if (!netif_running(wdev->netdev)) in cfg80211_mgd_wext_connect() 31 wdev->wext.connect.ie = wdev->wext.ie; in cfg80211_mgd_wext_connect() 32 wdev->wext.connect.ie_len = wdev->wext.ie_len; in cfg80211_mgd_wext_connect() 35 wdev->wext.connect.bg_scan_period = -1; in cfg80211_mgd_wext_connect() 37 if (wdev->wext.keys) { in cfg80211_mgd_wext_connect() 38 wdev->wext.keys->def = wdev->wext.default_key; in cfg80211_mgd_wext_connect() 39 if (wdev->wext.default_key != -1) in cfg80211_mgd_wext_connect() 40 wdev->wext.connect.privacy = true; in cfg80211_mgd_wext_connect() [all …]
|
D | sme.c | 54 static void cfg80211_sme_free(struct wireless_dev *wdev) in cfg80211_sme_free() argument 56 if (!wdev->conn) in cfg80211_sme_free() 59 kfree(wdev->conn->ie); in cfg80211_sme_free() 60 kfree(wdev->conn); in cfg80211_sme_free() 61 wdev->conn = NULL; in cfg80211_sme_free() 64 static int cfg80211_conn_scan(struct wireless_dev *wdev) in cfg80211_conn_scan() argument 66 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_conn_scan() 71 ASSERT_WDEV_LOCK(wdev); in cfg80211_conn_scan() 76 if (wdev->conn->params.channel) in cfg80211_conn_scan() 79 n_channels = ieee80211_get_num_supported_channels(wdev->wiphy); in cfg80211_conn_scan() [all …]
|
D | wext-compat.c | 38 struct wireless_dev *wdev = dev->ieee80211_ptr; in cfg80211_wext_siwmode() local 43 rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_wext_siwmode() 62 if (type == wdev->iftype) in cfg80211_wext_siwmode() 74 struct wireless_dev *wdev = dev->ieee80211_ptr; in cfg80211_wext_giwmode() local 76 if (!wdev) in cfg80211_wext_giwmode() 79 switch (wdev->iftype) { in cfg80211_wext_giwmode() 111 struct wireless_dev *wdev = dev->ieee80211_ptr; in cfg80211_wext_giwrange() local 116 if (!wdev) in cfg80211_wext_giwrange() 137 switch (wdev->wiphy->signal_type) { in cfg80211_wext_giwrange() 161 for (i = 0; i < wdev->wiphy->n_cipher_suites; i++) { in cfg80211_wext_giwrange() [all …]
|
D | mlme.c | 28 struct wireless_dev *wdev = dev->ieee80211_ptr; in cfg80211_rx_assoc_resp() local 29 struct wiphy *wiphy = wdev->wiphy; in cfg80211_rx_assoc_resp() 61 if (cfg80211_sme_rx_assoc_resp(wdev, cr.status)) { in cfg80211_rx_assoc_resp() 74 static void cfg80211_process_auth(struct wireless_dev *wdev, in cfg80211_process_auth() argument 77 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_process_auth() 79 nl80211_send_rx_auth(rdev, wdev->netdev, buf, len, GFP_KERNEL); in cfg80211_process_auth() 80 cfg80211_sme_rx_auth(wdev, buf, len); in cfg80211_process_auth() 83 static void cfg80211_process_deauth(struct wireless_dev *wdev, in cfg80211_process_deauth() argument 86 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_process_deauth() 90 bool from_ap = !ether_addr_equal(mgmt->sa, wdev->netdev->dev_addr); in cfg80211_process_deauth() [all …]
|
D | core.c | 158 struct wireless_dev *wdev; in cfg80211_switch_netns() local 164 list_for_each_entry(wdev, &rdev->wiphy.wdev_list, list) { in cfg80211_switch_netns() 165 if (!wdev->netdev) in cfg80211_switch_netns() 167 wdev->netdev->features &= ~NETIF_F_NETNS_LOCAL; in cfg80211_switch_netns() 168 err = dev_change_net_namespace(wdev->netdev, net, "wlan%d"); in cfg80211_switch_netns() 171 wdev->netdev->features |= NETIF_F_NETNS_LOCAL; in cfg80211_switch_netns() 178 list_for_each_entry_continue_reverse(wdev, in cfg80211_switch_netns() 181 if (!wdev->netdev) in cfg80211_switch_netns() 183 wdev->netdev->features &= ~NETIF_F_NETNS_LOCAL; in cfg80211_switch_netns() 184 err = dev_change_net_namespace(wdev->netdev, net, in cfg80211_switch_netns() [all …]
|
D | mesh.c | 103 struct wireless_dev *wdev = dev->ieee80211_ptr; in __cfg80211_join_mesh() local 108 ASSERT_WDEV_LOCK(wdev); in __cfg80211_join_mesh() 117 if (wdev->mesh_id_len) in __cfg80211_join_mesh() 128 setup->chandef = wdev->preset_chandef; in __cfg80211_join_mesh() 212 memcpy(wdev->ssid, setup->mesh_id, setup->mesh_id_len); in __cfg80211_join_mesh() 213 wdev->mesh_id_len = setup->mesh_id_len; in __cfg80211_join_mesh() 214 wdev->chandef = setup->chandef; in __cfg80211_join_mesh() 215 wdev->beacon_interval = setup->beacon_interval; in __cfg80211_join_mesh() 222 struct wireless_dev *wdev, in cfg80211_set_mesh_channel() argument 238 if (!netif_running(wdev->netdev)) in cfg80211_set_mesh_channel() [all …]
|