WiMAX PPAQ Identifier
Dear list, I am trying to implement WiMAX prepaid quotas using FreeRADIUS 2.1.12. I want to return to the NAS a Volume-Quota and/or a Duration-Quota. I am able to do this after modifications to the sqlcounter module. However, I need to send a WiMAX-PPAQ-Quota-Identifier as part of the reply to the NAS and this value needs to be generated by the AAA server. The PPAQ Quota Identifier is defined in the dictionary as: ATTRIBUTE WiMAX-PPAQ 37 tlv BEGIN-TLV WiMAX-PPAQ ATTRIBUTE WiMAX-PPAQ-Quota-Identifier 1 octets ATTRIBUTE WiMAX-Volume-Quota 2 integer #kb I would like to know if there is a function in FreeRADIUS that I can use to generate this identifier, and if it exists, how to use it (or you can point me to the appropriate documentation). If there is no such function, how do I return a Quota-Identifier with my Access-Accept? Thank you. Kondie -- View this message in context: http://freeradius.1045715.n5.nabble.com/WiMAX-PPAQ-Identifier-tp5543647p5543... Sent from the FreeRadius - User mailing list archive at Nabble.com.
kondie wrote:
I am trying to implement WiMAX prepaid quotas using FreeRADIUS 2.1.12. I want to return to the NAS a Volume-Quota and/or a Duration-Quota. I am able to do this after modifications to the sqlcounter module. However, I need to send a WiMAX-PPAQ-Quota-Identifier as part of the reply to the NAS and this value needs to be generated by the AAA server.
The PPAQ Quota Identifier is defined in the dictionary as:
That's just a packet encoding. And yes, we *have* seen the dictionaries. There's no point in posting them to the list.
I would like to know if there is a function in FreeRADIUS that I can use to generate this identifier, and if it exists, how to use it (or you can point me to the appropriate documentation).
That's the wrong question. The correct question is "What do the WiMAX specifications say about the PPAQ?" The answer is either "Read your NAS documentation", or "Read the WiMAX specs".
If there is no such function, how do I return a Quota-Identifier with my Access-Accept?
Invent one. It's up to you to create it. Alan DeKok.
WiMAX-PPAQ-Quota-Identifier not need be globally unique. It need not be unique across single NAS (ASN-GW). It should be unique across single access session. So if you allocate single quota for every single session you can safely use constant WiMAX-PPAQ-Quota-Identifier, for example, WiMAX-PPAQ-Quota-Identifier = 0x00000000. kondie wrote:
I am trying to implement WiMAX prepaid quotas using FreeRADIUS 2.1.12. I want to return to the NAS a Volume-Quota and/or a Duration-Quota. I am able to do this after modifications to the sqlcounter module. However, I need to send a WiMAX-PPAQ-Quota-Identifier as part of the reply to the NAS and this value needs to be generated by the AAA server.
Hi Iliya, Thank you very much. This is what I wanted and it has worked. Regards, Kondie -- View this message in context: http://freeradius.1045715.n5.nabble.com/WiMAX-PPAQ-Identifier-tp5543647p5543... Sent from the FreeRadius - User mailing list archive at Nabble.com.
participants (3)
-
Alan DeKok -
Iliya Peregoudov -
kondie