1 /* Copyright (c) 2013-2019. The SimGrid Team. All rights reserved. */
3 /* This program is free software; you can redistribute it and/or modify it
4 * under the terms of the license (GNU LGPL) which comes with this package. */
6 #ifndef SURF_LINK_WIFI_HPP_
7 #define SURF_LINK_WIFI_HPP_
9 #include "network_cm02.hpp"
10 #include "network_interface.hpp"
11 #include "src/surf/HostImpl.hpp"
12 #include "xbt/string.hpp"
18 class NetworkWifiLink : public NetworkCm02Link {
19 /** @brief Hold every rates association between host and links (host name, rates id) */
20 std::map<xbt::string, int> host_rates;
22 /** @brief Hold every rates available for this Access Point */
26 void set_host_rate(sg_host_t host, int rate_level);
29 } // namespace resource
31 } // namespace simgrid