Alexandru Gagniuc 2eb71d7d7a batman-adv: fix compilation bug in batadv_is_cfg80211_netdev()
Because batman-adv is built under backports, not a clean linux tree,
the CONFIG_CFG80211 does not exist. The evaluation of IS_ENABLED() in
batadv_is_cfg80211_netdev() will be false, causing the funtion to
always return false.

This means that the wifi_flags of an interface don't get set, causing
batadv_is_wifi_hardif() to always return false. As a result,
batadv_v_elp_get_throughput() never tries to get the station info from
cfg80211, resulting in the following warning:

    batman_adv: bat0: WiFi driver or ethtool info does not provide
    information about link speeds on interface phy1-mesh0,
    therefore defaulting to hardcoded throughput values of 1.0 Mbps.

So replace CONFIG_CFG80211 with CPTCFG_CFG80211, which is the correct
macro to use under backports.

Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
2023-04-07 09:03:04 -05:00
2023-02-23 00:55:48 +01:00
2023-01-26 22:31:20 +01:00
2023-02-10 08:39:41 +01:00
2023-01-26 22:31:00 +01:00
2020-08-11 12:36:05 -07:00
2023-02-21 12:57:06 +01:00
2020-12-17 06:28:05 +00:00
2022-02-26 15:36:43 +01:00
2022-08-10 07:47:55 +02:00
2021-03-10 08:20:24 +01:00
2022-11-03 14:50:47 +01:00
2023-01-24 21:11:33 +01:00
2022-02-26 15:35:33 +01:00
2022-03-03 08:48:17 +01:00
2022-02-26 15:37:24 +01:00

OpenWrt Routing Feed

Description

This OpenWrt package feed contains community maintained routing packages.

Usage

This repository is intended to be layered on-top of an OpenWrt buildroot. If you do not have an OpenWrt buildroot installed, see the documentation at: OpenWrt Buildroot Installation on the OpenWrt support site.

This feed is enabled by default. To install all its package definitions, run:

./scripts/feeds update routing
./scripts/feeds install -a -p routing
S
Description
OpenWrt Routing Packages
Readme 5 MiB
Languages
Shell 35%
Makefile 32.3%
Lua 15.9%
C 15%
HTML 1.8%