24 lines
428 B
C++
24 lines
428 B
C++
#ifndef MAPPING_HPP_MZ2RU7VX
|
|||
|
|
#define MAPPING_HPP_MZ2RU7VX
|
||
|
|
|
||
|
|
#include <vanetza/access/access_category.hpp>
|
||
|
|
#include <vanetza/dcc/profile.hpp>
|
||
|
|
|
||
|
|
namespace vanetza
|
||
|
|
{
|
||
|
|
namespace dcc
|
||
|
|
{
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Map DCC Profile to EDCA access category
|
||
|
|
* \param profile DCC Profile ID
|
||
|
|
* \return mapped access category
|
||
|
|
*/
|
||
|
|
access::AccessCategory map_profile_onto_ac(Profile);
|
||
|
|
|
||
|
|
} // namespace dcc
|
||
|
|
} // namespace vanetza
|
||
|
|
|
||
|
|
#endif /* MAPPING_HPP_MZ2RU7VX */
|
||
|
|
|