I am working on the wireless driver source codes that are written in the C
programming language.
I find a function that seems to be declared in 2 different versions:
ath_dev.h: void (*scan_start)(ath_dev_t);
ieee80211_scan.h: int (* scan_start) (ieee80211_scanner_t ss,
wlan_if_t vaphandle,
ieee80211_scan_params *params,
IEEE80211_SCAN_REQUESTOR requestor,
IEEE80211_SCAN_PRIORITY priority,
IEEE80211_SCAN_ID *scan_id);
Am I right to say that the OpenWrt uses the C++ compiler on the C programs
so function overloading is allowed?
Somewhere in ath_dev.h: typedef void *ath_dev_t;
I could only find one function definition:
ath_main.c: static void ath_scan_start(ath_dev_t dev) {
which corresponds to
ath_dev.h: void (*scan_start)(ath_dev_t);
because they are the 31st ordered element in the structure “struct ath_ops”.
I am trying to generate a table of values for each and every channel of the
AP: beacon RSSI from neighbouring APs, noise floor, sum of interference.
And let the user choose which channel he wants, the radio button for the
best channel already auto-selected by the automatic channel selection
(ACS). When he clicks Apply, that particular channel would be used.
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users