Add a way to add persistent (configured) wireless_networks that will eventually

be stored by the backend in the net_server. I put it in BNetworkDevice because
that is where network enumeration is done as well, but I'm not sure that it fits
there particularly well.
Since BNetworkDevice::GetNetwork() directly interfaces with the driver and gets
the networks from scan results, such persistent networks don't yet show up in
those enumerations.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42807 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Michael Lotz
2011-10-07 10:23:47 +00:00
parent 8fecaf03e3
commit a1b98367ae
2 changed files with 87 additions and 0 deletions
+3
View File
@@ -97,6 +97,9 @@ public:
status_t GetNetwork(const BNetworkAddress& address,
wireless_network& network);
status_t AddPersistentNetwork(
const wireless_network& network);
status_t JoinNetwork(const char* name,
const char* password = NULL);
status_t JoinNetwork(const wireless_network& network,