diff mbox series

[1/4] doc: document AP properties PairwiseCiphers/GroupCipher

Message ID 20221103170050.379587-1-prestwoj@gmail.com (mailing list archive)
State New
Headers show
Series [1/4] doc: document AP properties PairwiseCiphers/GroupCipher | expand

Checks

Context Check Description
tedd_an/pre-ci_am success Success
prestwoj/iwd-alpine-ci-fetch success Fetch PR
prestwoj/iwd-ci-gitlint success GitLint
prestwoj/iwd-ci-fetch success Fetch PR
prestwoj/iwd-ci-makedistcheck fail Make Distcheck Make FAIL: ../../src/ap.c:3669:42: warning: ‘struct ap_if_data’ declared inside parameter list will not be visible outside of this definition or declaration 3669 | static void ap_properties_changed(struct ap_if_data *ap_if) | ^~~~~~~~~~ ../../src/ap.c: In function ‘ap_properties_changed’: ../../src/ap.c:3672:54: error: invalid use of undefined type ‘struct ap_if_data’ 3672 | netdev_get_path(ap_if->netdev), | ^~ ../../src/ap.c:3675:54: error: invalid use of undefined type ‘struct ap_if_data’ 3675 | netdev_get_path(ap_if->netdev), | ^~ ../../src/ap.c:3678:54: error: invalid use of undefined type ‘struct ap_if_data’ 3678 | netdev_get_path(ap_if->netdev), | ^~ ../../src/ap.c:3681:54: error: invalid use of undefined type ‘struct ap_if_data’ 3681 | netdev_get_path(ap_if->netdev), | ^~ ../../src/ap.c:3684:54: error: invalid use of undefined type ‘struct ap_if_data’ 3684 | netdev_get_path(ap_if->netdev), | ^~ ../../src/ap.c:3687:54: error: invalid use of undefined type ‘struct ap_if_data’ 3687 | netdev_get_path(ap_if->netdev), | ^~ ../../src/ap.c: In function ‘ap_if_event_func’: ../../src/ap.c:3729:39: warning: passing argument 1 of ‘ap_properties_changed’ from incompatible pointer type [-Wincompatible-pointer-types] 3729 | ap_properties_changed(ap_if); | ^~~~~ | | | struct ap_if_data * ../../src/ap.c:3669:54: note: expected ‘struct ap_if_data *’ but argument is of type ‘struct ap_if_data *’ 3669 | static void ap_properties_changed(struct ap_if_data *ap_if) | ~~~~~~~~~~~~~~~~~~~^~~~~ ../../src/ap.c:3742:39: warning: passing argument 1 of ‘ap_properties_changed’ from incompatible pointer type [-Wincompatible-pointer-types] 3742 | ap_properties_changed(ap_if); | ^~~~~ | | | struct ap_if_data * ../../src/ap.c:3669:54: note: expected ‘struct ap_if_data *’ but argument is of type ‘struct ap_if_data *’ 3669 | static void ap_properties_changed(struct ap_if_data *ap_if) | ~~~~~~~~~~~~~~~~~~~^~~~~ make[2]: *** [Makefile:2407: src/ap.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [Makefile:1586: all] Error 2 make: *** [Makefile:3184: distcheck] Error 1
prestwoj/iwd-alpine-ci-makedistcheck fail Make Distcheck Make FAIL: ../../src/ap.c:3669:42: warning: 'struct ap_if_data' declared inside parameter list will not be visible outside of this definition or declaration 3669 | static void ap_properties_changed(struct ap_if_data *ap_if) | ^~~~~~~~~~ ../../src/ap.c: In function 'ap_properties_changed': ../../src/ap.c:3672:54: error: invalid use of undefined type 'struct ap_if_data' 3672 | netdev_get_path(ap_if->netdev), | ^~ ../../src/ap.c:3675:54: error: invalid use of undefined type 'struct ap_if_data' 3675 | netdev_get_path(ap_if->netdev), | ^~ ../../src/ap.c:3678:54: error: invalid use of undefined type 'struct ap_if_data' 3678 | netdev_get_path(ap_if->netdev), | ^~ ../../src/ap.c:3681:54: error: invalid use of undefined type 'struct ap_if_data' 3681 | netdev_get_path(ap_if->netdev), | ^~ ../../src/ap.c:3684:54: error: invalid use of undefined type 'struct ap_if_data' 3684 | netdev_get_path(ap_if->netdev), | ^~ ../../src/ap.c:3687:54: error: invalid use of undefined type 'struct ap_if_data' 3687 | netdev_get_path(ap_if->netdev), | ^~ ../../src/ap.c: In function 'ap_if_event_func': ../../src/ap.c:3729:39: warning: passing argument 1 of 'ap_properties_changed' from incompatible pointer type [-Wincompatible-pointer-types] 3729 | ap_properties_changed(ap_if); | ^~~~~ | | | struct ap_if_data * ../../src/ap.c:3669:54: note: expected 'struct ap_if_data *' but argument is of type 'struct ap_if_data *' 3669 | static void ap_properties_changed(struct ap_if_data *ap_if) | ~~~~~~~~~~~~~~~~~~~^~~~~ ../../src/ap.c:3742:39: warning: passing argument 1 of 'ap_properties_changed' from incompatible pointer type [-Wincompatible-pointer-types] 3742 | ap_properties_changed(ap_if); | ^~~~~ | | | struct ap_if_data * ../../src/ap.c:3669:54: note: expected 'struct ap_if_data *' but argument is of type 'struct ap_if_data *' 3669 | static void ap_properties_changed(struct ap_if_data *ap_if) | ~~~~~~~~~~~~~~~~~~~^~~~~ make[2]: *** [Makefile:2408: src/ap.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [Makefile:1587: all] Error 2 make: *** [Makefile:3185: distcheck] Error 1
prestwoj/iwd-ci-build success Build - Configure
prestwoj/iwd-alpine-ci-build success Build - Configure
prestwoj/iwd-ci-makecheckvalgrind fail Make FAIL: src/ap.c:3669:42: error: ‘struct ap_if_data’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror] 3669 | static void ap_properties_changed(struct ap_if_data *ap_if) | ^~~~~~~~~~ src/ap.c: In function ‘ap_properties_changed’: src/ap.c:3672:54: error: invalid use of undefined type ‘struct ap_if_data’ 3672 | netdev_get_path(ap_if->netdev), | ^~ src/ap.c:3675:54: error: invalid use of undefined type ‘struct ap_if_data’ 3675 | netdev_get_path(ap_if->netdev), | ^~ src/ap.c:3678:54: error: invalid use of undefined type ‘struct ap_if_data’ 3678 | netdev_get_path(ap_if->netdev), | ^~ src/ap.c:3681:54: error: invalid use of undefined type ‘struct ap_if_data’ 3681 | netdev_get_path(ap_if->netdev), | ^~ src/ap.c:3684:54: error: invalid use of undefined type ‘struct ap_if_data’ 3684 | netdev_get_path(ap_if->netdev), | ^~ src/ap.c:3687:54: error: invalid use of undefined type ‘struct ap_if_data’ 3687 | netdev_get_path(ap_if->netdev), | ^~ src/ap.c: In function ‘ap_if_event_func’: src/ap.c:3729:39: error: passing argument 1 of ‘ap_properties_changed’ from incompatible pointer type [-Werror=incompatible-pointer-types] 3729 | ap_properties_changed(ap_if); | ^~~~~ | | | struct ap_if_data * src/ap.c:3669:54: note: expected ‘struct ap_if_data *’ but argument is of type ‘struct ap_if_data *’ 3669 | static void ap_properties_changed(struct ap_if_data *ap_if) | ~~~~~~~~~~~~~~~~~~~^~~~~ src/ap.c:3742:39: error: passing argument 1 of ‘ap_properties_changed’ from incompatible pointer type [-Werror=incompatible-pointer-types] 3742 | ap_properties_changed(ap_if); | ^~~~~ | | | struct ap_if_data * src/ap.c:3669:54: note: expected ‘struct ap_if_data *’ but argument is of type ‘struct ap_if_data *’ 3669 | static void ap_properties_changed(struct ap_if_data *ap_if) | ~~~~~~~~~~~~~~~~~~~^~~~~ cc1: all warnings being treated as errors make[1]: *** [Makefile:2407: src/ap.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make: *** [Makefile:1586: all] Error 2
prestwoj/iwd-ci-makecheck pending makecheck SKIP
prestwoj/iwd-ci-testrunner pending testrunner SKIP
prestwoj/iwd-alpine-ci-makecheckvalgrind fail Make FAIL: src/ap.c:3669:42: error: 'struct ap_if_data' declared inside parameter list will not be visible outside of this definition or declaration [-Werror] 3669 | static void ap_properties_changed(struct ap_if_data *ap_if) | ^~~~~~~~~~ src/ap.c: In function 'ap_properties_changed': src/ap.c:3672:54: error: invalid use of undefined type 'struct ap_if_data' 3672 | netdev_get_path(ap_if->netdev), | ^~ src/ap.c:3675:54: error: invalid use of undefined type 'struct ap_if_data' 3675 | netdev_get_path(ap_if->netdev), | ^~ src/ap.c:3678:54: error: invalid use of undefined type 'struct ap_if_data' 3678 | netdev_get_path(ap_if->netdev), | ^~ src/ap.c:3681:54: error: invalid use of undefined type 'struct ap_if_data' 3681 | netdev_get_path(ap_if->netdev), | ^~ src/ap.c:3684:54: error: invalid use of undefined type 'struct ap_if_data' 3684 | netdev_get_path(ap_if->netdev), | ^~ src/ap.c:3687:54: error: invalid use of undefined type 'struct ap_if_data' 3687 | netdev_get_path(ap_if->netdev), | ^~ src/ap.c: In function 'ap_if_event_func': src/ap.c:3729:39: error: passing argument 1 of 'ap_properties_changed' from incompatible pointer type [-Werror=incompatible-pointer-types] 3729 | ap_properties_changed(ap_if); | ^~~~~ | | | struct ap_if_data * src/ap.c:3669:54: note: expected 'struct ap_if_data *' but argument is of type 'struct ap_if_data *' 3669 | static void ap_properties_changed(struct ap_if_data *ap_if) | ~~~~~~~~~~~~~~~~~~~^~~~~ src/ap.c:3742:39: error: passing argument 1 of 'ap_properties_changed' from incompatible pointer type [-Werror=incompatible-pointer-types] 3742 | ap_properties_changed(ap_if); | ^~~~~ | | | struct ap_if_data * src/ap.c:3669:54: note: expected 'struct ap_if_data *' but argument is of type 'struct ap_if_data *' 3669 | static void ap_properties_changed(struct ap_if_data *ap_if) | ~~~~~~~~~~~~~~~~~~~^~~~~ cc1: all warnings being treated as errors make[1]: *** [Makefile:2408: src/ap.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make: *** [Makefile:1587: all] Error 2
prestwoj/iwd-ci-clang fail Clang IWD - make FAIL: src/ap.c:3669:42: error: declaration of 'struct ap_if_data' will not be visible outside of this function [-Werror,-Wvisibility] static void ap_properties_changed(struct ap_if_data *ap_if) ^ src/ap.c:3672:26: error: incomplete definition of type 'struct ap_if_data' netdev_get_path(ap_if->netdev), ~~~~~^ src/ap.c:3669:42: note: forward declaration of 'struct ap_if_data' static void ap_properties_changed(struct ap_if_data *ap_if) ^ src/ap.c:3675:26: error: incomplete definition of type 'struct ap_if_data' netdev_get_path(ap_if->netdev), ~~~~~^ src/ap.c:3669:42: note: forward declaration of 'struct ap_if_data' static void ap_properties_changed(struct ap_if_data *ap_if) ^ src/ap.c:3678:26: error: incomplete definition of type 'struct ap_if_data' netdev_get_path(ap_if->netdev), ~~~~~^ src/ap.c:3669:42: note: forward declaration of 'struct ap_if_data' static void ap_properties_changed(struct ap_if_data *ap_if) ^ src/ap.c:3681:26: error: incomplete definition of type 'struct ap_if_data' netdev_get_path(ap_if->netdev), ~~~~~^ src/ap.c:3669:42: note: forward declaration of 'struct ap_if_data' static void ap_properties_changed(struct ap_if_data *ap_if) ^ src/ap.c:3684:26: error: incomplete definition of type 'struct ap_if_data' netdev_get_path(ap_if->netdev), ~~~~~^ src/ap.c:3669:42: note: forward declaration of 'struct ap_if_data' static void ap_properties_changed(struct ap_if_data *ap_if) ^ src/ap.c:3687:26: error: incomplete definition of type 'struct ap_if_data' netdev_get_path(ap_if->netdev), ~~~~~^ src/ap.c:3669:42: note: forward declaration of 'struct ap_if_data' static void ap_properties_changed(struct ap_if_data *ap_if) ^ src/ap.c:3729:25: error: incompatible pointer types passing 'struct ap_if_data *' to parameter of type 'struct ap_if_data *' [-Werror,-Wincompatible-pointer-types] ap_properties_changed(ap_if); ^~~~~ src/ap.c:3669:54: note: passing argument to parameter 'ap_if' here static void ap_properties_changed(struct ap_if_data *ap_if) ^ src/ap.c:3742:25: error: incompatible pointer types passing 'struct ap_if_data *' to parameter of type 'struct ap_if_data *' [-Werror,-Wincompatible-pointer-types] ap_properties_changed(ap_if); ^~~~~ src/ap.c:3669:54: note: passing argument to parameter 'ap_if' here static void ap_properties_changed(struct ap_if_data *ap_if) ^ 9 errors generated. make[1]: *** [Makefile:2407: src/ap.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make: *** [Makefile:1586: all] Error 2
prestwoj/iwd-alpine-ci-makecheck pending makecheck SKIP
prestwoj/iwd-ci-incremental_build fail Make FAIL (patch 1): src/ap.c:3669:42: error: ‘struct ap_if_data’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror] 3669 | static void ap_properties_changed(struct ap_if_data *ap_if) | ^~~~~~~~~~ src/ap.c: In function ‘ap_properties_changed’: src/ap.c:3672:54: error: invalid use of undefined type ‘struct ap_if_data’ 3672 | netdev_get_path(ap_if->netdev), | ^~ src/ap.c:3675:54: error: invalid use of undefined type ‘struct ap_if_data’ 3675 | netdev_get_path(ap_if->netdev), | ^~ src/ap.c:3678:54: error: invalid use of undefined type ‘struct ap_if_data’ 3678 | netdev_get_path(ap_if->netdev), | ^~ src/ap.c:3681:54: error: invalid use of undefined type ‘struct ap_if_data’ 3681 | netdev_get_path(ap_if->netdev), | ^~ src/ap.c:3684:54: error: invalid use of undefined type ‘struct ap_if_data’ 3684 | netdev_get_path(ap_if->netdev), | ^~ src/ap.c:3687:54: error: invalid use of undefined type ‘struct ap_if_data’ 3687 | netdev_get_path(ap_if->netdev), | ^~ src/ap.c: In function ‘ap_if_event_func’: src/ap.c:3729:39: error: passing argument 1 of ‘ap_properties_changed’ from incompatible pointer type [-Werror=incompatible-pointer-types] 3729 | ap_properties_changed(ap_if); | ^~~~~ | | | struct ap_if_data * src/ap.c:3669:54: note: expected ‘struct ap_if_data *’ but argument is of type ‘struct ap_if_data *’ 3669 | static void ap_properties_changed(struct ap_if_data *ap_if) | ~~~~~~~~~~~~~~~~~~~^~~~~ src/ap.c:3742:39: error: passing argument 1 of ‘ap_properties_changed’ from incompatible pointer type [-Werror=incompatible-pointer-types] 3742 | ap_properties_changed(ap_if); | ^~~~~ | | | struct ap_if_data * src/ap.c:3669:54: note: expected ‘struct ap_if_data *’ but argument is of type ‘struct ap_if_data *’ 3669 | static void ap_properties_changed(struct ap_if_data *ap_if) | ~~~~~~~~~~~~~~~~~~~^~~~~ cc1: all warnings being treated as errors make[1]: *** [Makefile:2407: src/ap.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make: *** [Makefile:1586: all] Error 2
prestwoj/iwd-alpine-ci-incremental_build fail Make FAIL (patch 1): src/ap.c:3669:42: error: 'struct ap_if_data' declared inside parameter list will not be visible outside of this definition or declaration [-Werror] 3669 | static void ap_properties_changed(struct ap_if_data *ap_if) | ^~~~~~~~~~ src/ap.c: In function 'ap_properties_changed': src/ap.c:3672:54: error: invalid use of undefined type 'struct ap_if_data' 3672 | netdev_get_path(ap_if->netdev), | ^~ src/ap.c:3675:54: error: invalid use of undefined type 'struct ap_if_data' 3675 | netdev_get_path(ap_if->netdev), | ^~ src/ap.c:3678:54: error: invalid use of undefined type 'struct ap_if_data' 3678 | netdev_get_path(ap_if->netdev), | ^~ src/ap.c:3681:54: error: invalid use of undefined type 'struct ap_if_data' 3681 | netdev_get_path(ap_if->netdev), | ^~ src/ap.c:3684:54: error: invalid use of undefined type 'struct ap_if_data' 3684 | netdev_get_path(ap_if->netdev), | ^~ src/ap.c:3687:54: error: invalid use of undefined type 'struct ap_if_data' 3687 | netdev_get_path(ap_if->netdev), | ^~ src/ap.c: In function 'ap_if_event_func': src/ap.c:3729:39: error: passing argument 1 of 'ap_properties_changed' from incompatible pointer type [-Werror=incompatible-pointer-types] 3729 | ap_properties_changed(ap_if); | ^~~~~ | | | struct ap_if_data * src/ap.c:3669:54: note: expected 'struct ap_if_data *' but argument is of type 'struct ap_if_data *' 3669 | static void ap_properties_changed(struct ap_if_data *ap_if) | ~~~~~~~~~~~~~~~~~~~^~~~~ src/ap.c:3742:39: error: passing argument 1 of 'ap_properties_changed' from incompatible pointer type [-Werror=incompatible-pointer-types] 3742 | ap_properties_changed(ap_if); | ^~~~~ | | | struct ap_if_data * src/ap.c:3669:54: note: expected 'struct ap_if_data *' but argument is of type 'struct ap_if_data *' 3669 | static void ap_properties_changed(struct ap_if_data *ap_if) | ~~~~~~~~~~~~~~~~~~~^~~~~ cc1: all warnings being treated as errors make[1]: *** [Makefile:2408: src/ap.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make: *** [Makefile:1587: all] Error 2

Commit Message

James Prestwood Nov. 3, 2022, 5 p.m. UTC
---
 doc/access-point-api.txt | 13 +++++++++++++
 1 file changed, 13 insertions(+)
diff mbox series

Patch

diff --git a/doc/access-point-api.txt b/doc/access-point-api.txt
index 63e61d49..28e6437d 100644
--- a/doc/access-point-api.txt
+++ b/doc/access-point-api.txt
@@ -71,3 +71,16 @@  Properties	boolean Started [readonly]
 		uint32 Frequency [readonly, optional]
 
 			The frequency that the Access Point is operating on.
+
+		string PairwiseCiphers [readonly, optional]
+
+			Comma separated list of pairwise ciphers the access
+			point supports. The same format as setting a list of
+			ciphers for an AP  profile, i.e. TKIP, CCMP-128,
+			GCMP-128, CCMP-256, GCMP-256 etc.
+
+		string GroupCipher [readonly, optional]
+
+			The group cipher suite the access point is using.
+			Possible values are the same as what could be included
+			in the PairwiseCiphers list.