s2w/dt2w: separate PocketMode specific code

Signed-off-by: shivamk11 <shivamk11@gmail.com>