about setopt on symbian

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Benny me again.

Well, I'm trying to integrate the setopt function on the symban, for using
it over symbian_ua.

I remember that the pj_sock_setsockopt  wrapping for symbian is not
implemented (perhaps I'm wrong).

Here I found some information about setopt and yes, I'm planning to set de
ToS field of IPv4.

http://wiki.forum.nokia.com/index.php/TSS000650_-_Increasing_WLAN_power_efficiency_for_full-duplex_VoIP_and_Video_applications


In order to set the Access Category to Voice (AC_VO), DSCP QoS bits of
outgoing IP packet headers (TOS field in IPv4, TC in IPv6) must be modified.
This can be done at socket level (RSocket) as follows:
    iSocket.SetOpt( KSoIpTOS, KProtocolInetIp, 0xE0 );
After this, the WLAN driver will recognize sent packets as belonging to the
Voice Access Category. U-APSD power save scheme will be enabled, provided
that it is supported also by the WLAN access point

and even on this link

http://wiki.forum.nokia.com/index.php/VoIP_developer_guidelines_for_S60

   - the application sets the DSCP bits using Symbian Socket API and can
   reduce battery consumption upto 25% using AC_VO:
      - Rsocket::SetOpt(KSoIpTOS, KProtocolInetIp, xx)
      - Where xx is the hex DSCP value multiplied by for (i.e., shifted left
      by two bits).
   - Power save is enabled for voice by default if the AP uses U-APSD power
   save (also know as WMM power save). If the AP only supports "legacy" power
   save, then we switch to active mode during the data transfer. There isn't
   any API to control this behaviour.

The platform is for S60 3rd Edition and FP1.

I'm really new working over Symbian and I have no clue.
Thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20081024/d4eeb95b/attachment.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux